compile fixes

This commit is contained in:
Robin Müller 2022-09-05 16:22:41 +02:00
parent a5d1c38b22
commit ece5ae59e4
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -68,7 +68,7 @@ struct PsbParams {
* a suitable global distributor with the static ID @PusServiceBase::pusDistributor and
* register itself at that object.
*/
PUSDistributorIF* pusDistributor = nullptr;
PusDistributorIF* pusDistributor = nullptr;
TimeWriterIF* timeStamper = nullptr;
};