From b1585a7f55ee869b4281ced2c2b1ce0dfbc203ac Mon Sep 17 00:00:00 2001 From: Jacob Dahl <37091262+dakejahl@users.noreply.github.com> Date: Mon, 26 Jan 2026 09:06:42 -0900 Subject: [PATCH] Update platforms/nuttx/src/px4/stm/stm32_common/dshot/dshot.c Co-authored-by: Julian Oes --- platforms/nuttx/src/px4/stm/stm32_common/dshot/dshot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;