mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 05:33:33 +08:00
Merged IO feature branch
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user