mirror of https://github.com/ArduPilot/ardupilot
Sub: improve motor test message
This commit is contained in:
parent
db6beb913d
commit
0e4366d540
|
@ -28,7 +28,7 @@ bool Sub::init_motor_test()
|
||||||
// Ten second cooldown period required with no do_set_motor requests required
|
// Ten second cooldown period required with no do_set_motor requests required
|
||||||
// after failure.
|
// after failure.
|
||||||
if (tnow < last_do_motor_test_fail_ms + 10000 && last_do_motor_test_fail_ms > 0) {
|
if (tnow < last_do_motor_test_fail_ms + 10000 && last_do_motor_test_fail_ms > 0) {
|
||||||
gcs().send_text(MAV_SEVERITY_CRITICAL, "10 second cool down required");
|
gcs().send_text(MAV_SEVERITY_CRITICAL, "10 second cooldown required after motor test");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue