From 2b8cc1a1df7e01a65aeaa818ca04f42d4a5a61dc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 15 Mar 2014 22:15:06 +1100 Subject: [PATCH] Plane: use set_mode() in do_RTL() thanks to Randy for spotting this --- ArduPlane/commands_logic.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/commands_logic.pde b/ArduPlane/commands_logic.pde index 0703789b55..8374441cde 100644 --- a/ArduPlane/commands_logic.pde +++ b/ArduPlane/commands_logic.pde @@ -41,7 +41,7 @@ handle_process_nav_cmd() break; case MAV_CMD_NAV_RETURN_TO_LAUNCH: - do_RTL(); + set_mode(RTL); break; default: