preserve STX char
This commit is contained in:
parent
f67567d0b5
commit
d81ed334d8
@ -198,7 +198,7 @@ ReturnValue_t DleEncoder::decodeStreamEscaped(const uint8_t *sourceStream, size_
|
||||
break;
|
||||
}
|
||||
case(STX_CHAR): {
|
||||
*readLen = ++encodedIndex;
|
||||
*readLen = encodedIndex;
|
||||
return DECODING_ERROR;
|
||||
}
|
||||
case(ETX_CHAR): {
|
||||
|
Loading…
Reference in New Issue
Block a user