aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/controls.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/px4io/controls.c')
-rw-r--r--apps/px4io/controls.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/px4io/controls.c b/apps/px4io/controls.c
index e64f8b204..9db9a0fa5 100644
--- a/apps/px4io/controls.c
+++ b/apps/px4io/controls.c
@@ -110,12 +110,13 @@ controls_main(void)
if (!locked)
ppm_input();
- /* force manual input override */
+ /* check for manual override status */
if (system_state.rc_channel_data[4] > RC_CHANNEL_HIGH_THRESH) {
- system_state.mixer_use_fmu = false;
+ /* force manual input override */
+ system_state.mixer_manual_override = true;
} else {
/* override not engaged, use FMU */
- system_state.mixer_use_fmu = true;
+ system_state.mixer_manual_override = false;
}
/*