diff --git a/ArduCopter/Parameters.h b/ArduCopter/Parameters.h index 2492f8e3c0..40e653835d 100644 --- a/ArduCopter/Parameters.h +++ b/ArduCopter/Parameters.h @@ -100,7 +100,8 @@ public: k_param_sonar_type, k_param_super_simple, k_param_rtl_land_enabled, - k_param_axis_enabled, //157 + k_param_axis_enabled, + k_param_copter_leds_mode, //158 // // 160: Navigation parameters @@ -210,6 +211,7 @@ public: AP_Int8 super_simple; AP_Int8 rtl_land_enabled; AP_Int8 axis_enabled; + AP_Int8 copter_leds_mode; // Operating mode of LED lighting system @@ -329,6 +331,7 @@ public: super_simple (SUPER_SIMPLE), rtl_land_enabled (RTL_AUTO_LAND), axis_enabled (AXIS_LOCK_ENABLED), + copter_leds_mode (0), waypoint_mode (0), command_total (0), diff --git a/ArduCopter/Parameters.pde b/ArduCopter/Parameters.pde index 8a84e81ac4..ba9e31207c 100644 --- a/ArduCopter/Parameters.pde +++ b/ArduCopter/Parameters.pde @@ -102,6 +102,7 @@ static const AP_Param::Info var_info[] PROGMEM = { GSCALAR(acro_p, "ACRO_P"), GSCALAR(axis_lock_p, "AXIS_P"), GSCALAR(axis_enabled, "AXIS_ENABLE"), + GSCALAR(copter_leds_mode, "LED_MODE"), // PID controller //---------------