From 4a942bc45da876975751f4d24f1348c80af36708 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 12 Sep 2012 13:09:32 +1000 Subject: [PATCH] APM: report throttle and ground speed mission changes --- ArduPlane/commands_logic.pde | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ArduPlane/commands_logic.pde b/ArduPlane/commands_logic.pde index ad1013ee08..547f3e16d1 100644 --- a/ArduPlane/commands_logic.pde +++ b/ArduPlane/commands_logic.pde @@ -550,12 +550,15 @@ static void do_change_speed() } break; case 1: // Ground speed + gcs_send_text_fmt(PSTR("Set groundspeed %u"), (unsigned)next_nonnav_command.alt); g.min_gndspeed_cm.set(next_nonnav_command.alt * 100); break; } - if(next_nonnav_command.lat > 0) + if (next_nonnav_command.lat > 0) { + gcs_send_text_fmt(PSTR("Set throttle %u"), (unsigned)next_nonnav_command.lat); g.throttle_cruise.set(next_nonnav_command.lat); + } } static void do_set_home()