mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 02:48:28 -04:00
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
Block a user