Sub: improve motor test message

This commit is contained in:
Willian Galvani 2019-09-16 11:02:59 -03:00 committed by Jacob Walser
parent db6beb913d
commit 0e4366d540
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }