Skip to content

Commit

Permalink
AP_Notify: Fix compilation error in GPIO_LED_1.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuzdalov authored and peterbarker committed Aug 28, 2024
1 parent 0dbe9ed commit 15d6e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Notify/GPIO_LED_1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 15d6e66

Please sign in to comment.