fix septentrio: initialize _current_index

Decoder::reset sets it to 0, but it could have been accessed before the
first call to reset().
This commit is contained in:
Beat Küng
2025-06-11 14:34:25 +02:00
committed by Alexander Lerach
parent 77d854b045
commit d13692ca46
+1 -1
View File
@@ -224,7 +224,7 @@ private:
bool can_parse() const;
State _state{State::SearchingSync1};
uint16_t _current_index;
uint16_t _current_index{0};
message_t _message;
};