mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-19 09:54:15 +01:00
Merge branch 'corvuscorax/OP-1192_no_arm_unless_throttle_subzero' into rel-14.01
This commit is contained in:
commit
5ef7c54c07
@ -1043,7 +1043,7 @@ static void setArmedIfChanged(uint8_t val)
|
||||
*/
|
||||
static void processArm(ManualControlCommandData *cmd, ManualControlSettingsData *settings, int8_t armSwitch)
|
||||
{
|
||||
bool lowThrottle = cmd->Throttle <= 0;
|
||||
bool lowThrottle = cmd->Throttle < 0;
|
||||
|
||||
/**
|
||||
* do NOT check throttle if disarming via switch, must be instant
|
||||
|
Loading…
x
Reference in New Issue
Block a user