mirror of https://github.com/ArduPilot/ardupilot
SRV_Channel: adjust trim, check all channels for range limit
This commit is contained in:
parent
ef9f5a9552
commit
eefda1130c
|
@ -684,7 +684,7 @@ void SRV_Channels::adjust_trim(SRV_Channel::Aux_servo_function_t function, float
|
|||
} else if (change < 0 && trim_scaled > 0.4f) {
|
||||
new_trim--;
|
||||
} else {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
c.servo_trim.set(new_trim);
|
||||
|
||||
|
|
Loading…
Reference in New Issue