mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 22:13:34 +08:00
Update platforms/nuttx/src/px4/stm/stm32_common/dshot/dshot.c
Co-authored-by: Julian Oes <julian@oes.ch>
This commit is contained in:
committed by
Jacob Dahl
co-authored by
Julian Oes
parent
e835394d25
commit
b1585a7f55
@@ -144,7 +144,7 @@ static bool _bdshot_processed[MAX_TIMER_IO_CHANNELS] = {};
|
|||||||
static int _consecutive_failures[MAX_TIMER_IO_CHANNELS] = {};
|
static int _consecutive_failures[MAX_TIMER_IO_CHANNELS] = {};
|
||||||
static int _consecutive_successes[MAX_TIMER_IO_CHANNELS] = {};
|
static int _consecutive_successes[MAX_TIMER_IO_CHANNELS] = {};
|
||||||
|
|
||||||
typedef struct erpm_data_t {
|
typedef struct {
|
||||||
int32_t erpm;
|
int32_t erpm;
|
||||||
bool ready;
|
bool ready;
|
||||||
float rate_hz;
|
float rate_hz;
|
||||||
|
|||||||
Reference in New Issue
Block a user