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:
parent
81fdf6d5ae
commit
78a839e233
6 changed files with 2 additions and 20 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue