fix bidir dshot for nxp xrt boards

This commit is contained in:
Thijs Hof 2025-11-01 15:18:36 +01:00 committed by Jacob Dahl
parent 9702a2a899
commit c44e0be18a

View File

@ -425,7 +425,7 @@ int up_bdshot_num_erpm_ready(void)
for (unsigned i = 0; i < DSHOT_TIMERS; ++i) {
// We only check that data has been received, rather than if it's valid.
// This ensures data is published even if one channel has bit errors.
if (bdshot_recv_mask & (1 << i)) {
if (bdshot_parsed_recv_mask & (1 << i)) {
++num_ready;
}
}