1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 00:35:34 +03:00

remove level trim deadband setting

This commit is contained in:
Alexander van Saase 2021-06-09 11:13:19 +02:00
parent 81fdf6d5ae
commit 78a839e233
6 changed files with 2 additions and 20 deletions

View file

@ -100,7 +100,7 @@ bool areSticksInApModePosition(uint16_t ap_mode)
bool areSticksDeflected(void)
{
return ABS(rcCommand[ROLL]) > rcControlsConfig()->control_deadband || ABS(rcCommand[PITCH]) > rcControlsConfig()->control_deadband || ABS(rcCommand[YAW]) > rcControlsConfig()->control_deadband;
return (ABS(rcCommand[ROLL]) > rcControlsConfig()->control_deadband) || (ABS(rcCommand[PITCH]) > rcControlsConfig()->control_deadband) || (ABS(rcCommand[YAW]) > rcControlsConfig()->control_deadband);
}
throttleStatus_e FAST_CODE NOINLINE calculateThrottleStatus(throttleStatusType_e type)