compile fixes

This commit is contained in:
2022-09-05 16:22:41 +02:00
parent a5d1c38b22
commit ece5ae59e4
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;
}