Improvements for ENTSO-E

This commit is contained in:
Gunnar Skjold
2022-01-23 17:52:10 +01:00
parent 9dbf9137c7
commit 6aa02d54c8
6 changed files with 24 additions and 6 deletions

View File

@@ -30,6 +30,7 @@ size_t DnbCurrParser::write(const uint8_t *buffer, size_t size) {
}
size_t DnbCurrParser::write(uint8_t byte) {
if(pos >= 64) pos = 0;
if(pos == 0) {
if(byte == '<') {
buf[pos++] = byte;