AP_Notify: Fix compilation error in GPIO_LED_1.cpp

This commit is contained in:
Maxim Buzdalov 2024-08-28 16:04:09 +01:00 committed by Peter Barker
parent 0dbe9ed27f
commit 15d6e664d8
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ void GPIO_LED_1::update(void)
if (AP_Notify::flags.initialising) {
new_pattern = INITIALIZING;
} else if (AP_Notify::flags.failsafe_radio || AP_Notify::flags.failsafe_gcs || AP_Notify::flags.failsafe_battery) {
new pattern = FAILSAFE;
new_pattern = FAILSAFE;
} else if (AP_Notify::flags.armed) {
new_pattern = ARMED;
} else if (AP_Notify::flags.pre_arm_check) {