1
0
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:
Corvus Corax 2014-01-23 21:53:55 +01:00
commit 5ef7c54c07

View File

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