mirror of https://github.com/ArduPilot/ardupilot
Rover: use ArmingMethod enumeration
This commit is contained in:
parent
df83cb034e
commit
b38b9dc07c
|
@ -126,7 +126,7 @@ MAV_RESULT Rover::mavlink_motor_test_start(mavlink_channel_t chan, uint8_t motor
|
|||
|
||||
// arm motors
|
||||
if (!arming.is_armed()) {
|
||||
arm_motors(AP_Arming::NONE);
|
||||
arm_motors(AP_Arming::ArmingMethod::MOTORTEST);
|
||||
}
|
||||
|
||||
// disable failsafes
|
||||
|
|
Loading…
Reference in New Issue