Copter: The failsafe enable flag should be cleared on cold reset
This commit is contained in:
parent
79bd82308c
commit
9bff62b3cb
@ -7,7 +7,7 @@
|
|||||||
// our failsafe strategy is to detect main loop lockup and disarm the motors
|
// our failsafe strategy is to detect main loop lockup and disarm the motors
|
||||||
//
|
//
|
||||||
|
|
||||||
static bool failsafe_enabled = false;
|
static bool failsafe_enabled;
|
||||||
static uint16_t failsafe_last_ticks;
|
static uint16_t failsafe_last_ticks;
|
||||||
static uint32_t failsafe_last_timestamp;
|
static uint32_t failsafe_last_timestamp;
|
||||||
static bool in_failsafe;
|
static bool in_failsafe;
|
||||||
|
Loading…
Reference in New Issue
Block a user