Skip to content

Commit d7ab56a

Browse files
committed
Update led.c
1 parent d50aa9f commit d7ab56a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/system/led.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)