AP_ICEngine: report takeoff height set

This commit is contained in:
Andrew Tridgell 2016-07-25 15:45:58 +10:00
parent 622d26b122
commit d25396543c

View File

@ -282,6 +282,7 @@ bool AP_ICEngine::engine_control(float start_control, float cold_start, float he
initial_height = 0; initial_height = 0;
height_required = height_delay; height_required = height_delay;
state = ICE_START_HEIGHT_DELAY; state = ICE_START_HEIGHT_DELAY;
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_INFO, "Takeoff height set to %.1fm", height_delay);
return true; return true;
} }
state = ICE_STARTING; state = ICE_STARTING;