diff options
Diffstat (limited to 'apps/px4io/controls.c')
-rw-r--r-- | apps/px4io/controls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/px4io/controls.c b/apps/px4io/controls.c index da445e3b4..169d5bb81 100644 --- a/apps/px4io/controls.c +++ b/apps/px4io/controls.c @@ -121,6 +121,7 @@ controls_main(void) if (system_state.rc_channel_data[4] > RC_CHANNEL_HIGH_THRESH) { /* force manual input override */ system_state.mixer_manual_override = true; + } else { /* override not engaged, use FMU */ system_state.mixer_manual_override = false; @@ -139,7 +140,7 @@ controls_main(void) */ system_state.fmu_report_due = true; } - + /* set the number of channels to zero - no inputs */ system_state.rc_channels = 0; } |