aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/safety.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/px4io/safety.c')
-rw-r--r--apps/px4io/safety.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/px4io/safety.c b/apps/px4io/safety.c
index a14051f76..540636e19 100644
--- a/apps/px4io/safety.c
+++ b/apps/px4io/safety.c
@@ -151,7 +151,7 @@ safety_check_button(void *arg)
} else if (r_setup_arming & PX4IO_P_SETUP_ARMING_ARM_OK) {
pattern = LED_PATTERN_FMU_ARMED;
- } else if (system_state.vector_flight_mode_ok) {
+ } else if (r_setup_arming & PX4IO_P_SETUP_ARMING_VECTOR_FLIGHT_OK) {
pattern = LED_PATTERN_VECTOR_FLIGHT_MODE_OK;
}