Copter: The failsafe enable flag should be cleared on cold reset

This commit is contained in:
muramura 2024-09-15 08:54:56 +09:00 committed by Randy Mackay
parent 79bd82308c
commit 9bff62b3cb

View File

@ -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;