From a366bb2f810a4922b9b7e91fc9820dc15a8285b2 Mon Sep 17 00:00:00 2001 From: Adam M Rivera Date: Mon, 16 Apr 2012 10:06:29 -0500 Subject: [PATCH] Parameters: Changed rtl_approach_alt to float to support more granular altitudes --- ArduCopter/Parameters.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/Parameters.h b/ArduCopter/Parameters.h index 3363ce7138..1b9282104a 100644 --- a/ArduCopter/Parameters.h +++ b/ArduCopter/Parameters.h @@ -211,7 +211,7 @@ public: AP_Float low_voltage; AP_Int8 super_simple; AP_Int8 rtl_land_enabled; - AP_Uint8 rtl_approach_alt; + AP_Float rtl_approach_alt; AP_Int8 axis_enabled; AP_Int8 copter_leds_mode; // Operating mode of LED lighting system @@ -332,7 +332,7 @@ public: low_voltage (LOW_VOLTAGE), super_simple (SUPER_SIMPLE), rtl_land_enabled (RTL_AUTO_LAND), - rtl_approach_alt (0), + rtl_approach_alt (0.0), axis_enabled (AXIS_LOCK_ENABLED), copter_leds_mode (0),