SRV_Channel: adjust trim, check all channels for range limit

This commit is contained in:
Iampete1 2022-09-16 21:56:43 +01:00 committed by Andrew Tridgell
parent ef9f5a9552
commit eefda1130c
1 changed files with 1 additions and 1 deletions

View File

@ -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);