AP_ICEngine: report when engine goes into run state

This commit is contained in:
Andrew Tridgell 2022-09-27 12:00:55 +10:00
parent d6e7d568a0
commit ceb53ffa92

View File

@ -271,6 +271,7 @@ void AP_ICEngine::update(void)
if (!should_run) { if (!should_run) {
state = ICE_OFF; state = ICE_OFF;
} else if (now - starter_start_time_ms >= starter_time*1000) { } else if (now - starter_start_time_ms >= starter_time*1000) {
gcs().send_text(MAV_SEVERITY_INFO, "Engine running");
state = ICE_RUNNING; state = ICE_RUNNING;
} }
break; break;