@@ -143,39 +143,39 @@ static void led_resume(void)
143143#endif
144144
145145#ifdef LED_RGB_COLOR
146- static int led_pwm_period [4 ][3 ] = {
146+ static int led_pwm_period [5 ][3 ] = {
147147 {CONFIG_LED_DEFAULT_COLOR_R , CONFIG_LED_DEFAULT_COLOR_G , CONFIG_LED_DEFAULT_COLOR_B }, // Default
148148 {0 , 10000 , 0 }, // Success
149149 {10000 , 0 , 0 }, // Error
150150 {8000 , 2000 , 0 }, // Charging
151151 {0 , 0 , 10000 }, // Pairing
152152};
153153#elif defined(LED_TRI_COLOR )
154- static int led_pwm_period [4 ][3 ] = {
154+ static int led_pwm_period [5 ][3 ] = {
155155 {0 , 0 , 10000 }, // Default
156156 {0 , 10000 , 0 }, // Success
157157 {10000 , 0 , 0 }, // Error
158158 {6000 , 4000 , 0 }, // Charging
159159 {0 , 0 , 10000 }, // Pairing
160160};
161161#elif defined(LED_RG_COLOR )
162- static int led_pwm_period [4 ][2 ] = {
162+ static int led_pwm_period [5 ][2 ] = {
163163 {CONFIG_LED_DEFAULT_COLOR_R , CONFIG_LED_DEFAULT_COLOR_G }, // Default
164164 {0 , 10000 }, // Success
165165 {10000 , 0 }, // Error
166166 {8000 , 2000 }, // Charging
167167 {4000 , 6000 }, // Pairing
168168};
169169#elif defined(LED_DUAL_COLOR )
170- static int led_pwm_period [4 ][2 ] = {
170+ static int led_pwm_period [5 ][2 ] = {
171171 {0 , 10000 }, // Default
172172 {0 , 10000 }, // Success
173173 {10000 , 0 }, // Error
174174 {6000 , 4000 }, // Charging
175175 {0 , 10000 }, // Pairing
176176};
177177#else
178- static int led_pwm_period [4 ][1 ] = {
178+ static int led_pwm_period [5 ][1 ] = {
179179 {10000 }, // Default
180180 {10000 }, // Success
181181 {10000 }, // Error
0 commit comments