diff --git a/ArduCopter/Parameters.h b/ArduCopter/Parameters.h index 2492f8e3c0351b15fd85a0f7533a1acbc4e4b132..40e653835de5e5b8421ec3d478d0ec76ece2f21d 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 8a84e81ac46f8e431e8ee94852ef83e39a2b2a40..ba9e31207c59a9c9408ae9a7edbce64821a72602 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 //---------------