diff --git a/ArduCopter/Parameters.h b/ArduCopter/Parameters.h index 5360f7bd60992892cc32767c13d0a7e5c6cc586d..d85f2e4afc239cd1212e616b89253202e7a6e638 100644 --- a/ArduCopter/Parameters.h +++ b/ArduCopter/Parameters.h @@ -111,6 +111,7 @@ public: k_param_crosstrack_gain, k_param_auto_land_timeout, k_param_rtl_approach_alt, + k_param_retro_loiter, // @@ -213,6 +214,7 @@ public: AP_Int8 super_simple; AP_Int8 rtl_land_enabled; AP_Float rtl_approach_alt; + AP_Int8 retro_loiter; AP_Int8 axis_enabled; AP_Int8 copter_leds_mode; // Operating mode of LED lighting system @@ -334,6 +336,7 @@ public: super_simple (SUPER_SIMPLE), rtl_land_enabled (RTL_AUTO_LAND), rtl_approach_alt (0.0), + retro_loiter (RETRO_LOITER_MODE), axis_enabled (AXIS_LOCK_ENABLED), copter_leds_mode (0), diff --git a/ArduCopter/Parameters.pde b/ArduCopter/Parameters.pde index 02fae1e2c02a6180b31ae6a6d8dce61a6df65f6d..8197465dd15f59530b704a4c86a4ea319fa93ab7 100644 --- a/ArduCopter/Parameters.pde +++ b/ArduCopter/Parameters.pde @@ -34,6 +34,7 @@ static const AP_Param::Info var_info[] PROGMEM = { GSCALAR(super_simple, "SUPER_SIMPLE"), GSCALAR(rtl_land_enabled, "RTL_LAND"), GSCALAR(rtl_approach_alt, "APPROACH_ALT"), + GSCALAR(retro_loiter, "RETRO_LOITER"), GSCALAR(waypoint_mode, "WP_MODE"),