Plane: prevent stick mixing when throttle is below failsafe threshold
this fixes issue #40
This commit is contained in:
parent
c5e2cfcc3e
commit
683a2919d1
@ -42,7 +42,9 @@ static bool stick_mixing_enabled(void)
|
||||
// we're in an auto mode. Check the stick mixing flag
|
||||
if (g.stick_mixing != STICK_MIXING_DISABLED &&
|
||||
geofence_stickmixing() &&
|
||||
failsafe == FAILSAFE_NONE) {
|
||||
failsafe == FAILSAFE_NONE &&
|
||||
(g.throttle_fs_enabled == 0 ||
|
||||
g.channel_throttle.radio_in >= g.throttle_fs_value)) {
|
||||
// we're in an auto mode, and haven't triggered failsafe
|
||||
return true;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user