Native SENT TPS input #5079

This commit is contained in:
rusefillc 2023-02-20 11:50:50 -05:00
parent 3752038667
commit 094957c3c6
1 changed files with 4 additions and 1 deletions

View File

@ -573,7 +573,10 @@ static void SentDecoderThread(void*) {
ch.GetSignals(NULL, &sig0, &sig1);
engine->sent_state.value0 = sig0;
engine->sent_state.value1 = sig1;
engine->sent_state.errorRate = ch.getErrorRate();
#if SENT_STATISTIC_COUNTERS
engine->sent_state.errorRate = ch.statistic.getErrorRate();
#endif // SENT_STATISTIC_COUNTERS
/* Call high level decoder from here */