SENT: always report error, otherwise slow channel is not reset on error

This commit is contained in:
Andrey Gusakov 2024-12-06 18:42:15 +03:00 committed by rusefillc
parent b83285ef73
commit b29a50e135
1 changed files with 1 additions and 0 deletions

View File

@ -207,6 +207,7 @@ int sent_channel::Decoder(uint32_t clocks) {
#endif // SENT_STATISTIC_COUNTERS
/* wait for next sync and recalibrate tickPerUnit */
state = SENT_STATE_INIT;
ret = -1;
}
break;