another small bugfix (this-> was missing)

This commit is contained in:
Robin Müller 2020-06-05 18:36:22 +02:00
parent ef3e5c4582
commit 872c350a92

View File

@ -76,7 +76,7 @@ ReturnValue_t SerialBufferAdapter<count_t>::deSerialize(const uint8_t** buffer,
//No Else If, go on with buffer
if (bufferLength <= *size) {
*size -= bufferLength;
memcpy(buffer, *buffer, bufferLength);
memcpy(this->buffer, *buffer, bufferLength);
(*buffer) += bufferLength;
return HasReturnvaluesIF::RETURN_OK;
}