mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 10:58:30 -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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((control_mode > ACRO) && (control_mode != TOY)){
|
if ((control_mode > ACRO) && ((control_mode != TOY_A) || (control_mode != TOY_M))){
|
||||||
arming_counter = 0;
|
arming_counter = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user