diff --git a/platforms/nuttx/src/px4/stm/stm32_common/dshot/dshot.c b/platforms/nuttx/src/px4/stm/stm32_common/dshot/dshot.c index f51ccd78e9..adc5ec5c6b 100644 --- a/platforms/nuttx/src/px4/stm/stm32_common/dshot/dshot.c +++ b/platforms/nuttx/src/px4/stm/stm32_common/dshot/dshot.c @@ -144,7 +144,7 @@ static bool _bdshot_processed[MAX_TIMER_IO_CHANNELS] = {}; static int _consecutive_failures[MAX_TIMER_IO_CHANNELS] = {}; static int _consecutive_successes[MAX_TIMER_IO_CHANNELS] = {}; -typedef struct erpm_data_t { +typedef struct { int32_t erpm; bool ready; float rate_hz;