preserve STX char
This commit is contained in:
parent
afb472996c
commit
2439613f21
@ -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