mirror of https://github.com/ArduPilot/ardupilot
ACM : Added check for second Toy mode
This commit is contained in:
parent
0eed8853b4
commit
abe7a12fba
|
@ -17,7 +17,7 @@ static void arm_motors()
|
|||
return;
|
||||
}
|
||||
|
||||
if ((control_mode > ACRO) && (control_mode != TOY)){
|
||||
if ((control_mode > ACRO) && ((control_mode != TOY_A) || (control_mode != TOY_M))){
|
||||
arming_counter = 0;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue