Sub: Motor-test: change disarm method on motor test timeout

This commit is contained in:
Willian Galvani 2021-10-05 16:38:10 -03:00
parent 68274ff996
commit d5ec5f1dfc
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ bool Sub::verify_motor_test()
if (!pass) {
ap.motor_test = false;
motors.armed(false); // disarm motors
AP::arming().disarm(AP_Arming::Method::MOTORTEST);
last_do_motor_test_fail_ms = AP_HAL::millis();
return false;
}