Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers

This commit is contained in:
2022-09-05 16:29:10 +02:00
8 changed files with 11 additions and 10 deletions

View File

@ -119,7 +119,7 @@ const uint8_t* SerialBufferAdapter<count_t>::getConstBuffer() const {
}
template <typename count_t>
void SerialBufferAdapter<count_t>::setBuffer(const uint8_t* buf, count_t bufLen) {
void SerialBufferAdapter<count_t>::setConstBuffer(const uint8_t* buf, count_t bufLen) {
this->buffer = nullptr;
this->bufferLength = bufLen;
this->constBuffer = buf;

View File

@ -65,7 +65,7 @@ class SerialBufferAdapter : public SerializeIF {
uint8_t* getBuffer();
[[nodiscard]] const uint8_t* getConstBuffer() const;
void setBuffer(const uint8_t* buf, count_t bufLen);
void setConstBuffer(const uint8_t* buf, count_t bufLen);
private:
bool serializeLength = false;