From 0d88b602ec2b97c446daf8f1b9d6a1d0d3ebe6ca Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 25 Sep 2014 15:31:17 +0900 Subject: [PATCH] Copter: fix RSSI_RANGE param values The extra .0 after the 5 was causing the mission planner to not display 5V in the dropdown even though the value was 5. --- ArduCopter/Parameters.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/Parameters.pde b/ArduCopter/Parameters.pde index 901594f149..81402f86b5 100644 --- a/ArduCopter/Parameters.pde +++ b/ArduCopter/Parameters.pde @@ -197,9 +197,9 @@ const AP_Param::Info var_info[] PROGMEM = { // @DisplayName: Receiver RSSI voltage range // @Description: Receiver RSSI voltage range // @Units: Volt - // @Values: 3.3:3.3V, 5.0:5V + // @Values: 3.3:3.3V, 5:5V // @User: Standard - GSCALAR(rssi_range, "RSSI_RANGE", 5.0), + GSCALAR(rssi_range, "RSSI_RANGE", 5.0f), // @Param: WP_YAW_BEHAVIOR // @DisplayName: Yaw behaviour during missions