summaryrefslogtreecommitdiff
path: root/board/gandof/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/gandof/led.c')
-rw-r--r--board/gandof/led.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/gandof/led.c b/board/gandof/led.c
index 53bd96587b..681864777e 100644
--- a/board/gandof/led.c
+++ b/board/gandof/led.c
@@ -102,11 +102,11 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness)
switch (led_id) {
case EC_LED_ID_BATTERY_LED:
if (brightness[EC_LED_COLOR_GREEN] != 0 &&
- brightness[EC_LED_COLOR_YELLOW] != 0)
+ brightness[EC_LED_COLOR_ORANGE] != 0)
gandof_led_set_color(led_id, LED_PINK);
else if (brightness[EC_LED_COLOR_GREEN] != 0)
gandof_led_set_color(led_id, LED_GREEN);
- else if (brightness[EC_LED_COLOR_YELLOW] != 0)
+ else if (brightness[EC_LED_COLOR_ORANGE] != 0)
gandof_led_set_color(led_id, LED_AMBER);
else
gandof_led_set_color(led_id, LED_OFF);
@@ -129,7 +129,7 @@ void led_get_brightness_range(enum ec_led_id led_id, uint8_t *brightness_range)
switch (led_id) {
case EC_LED_ID_BATTERY_LED:
brightness_range[EC_LED_COLOR_GREEN] = 1;
- brightness_range[EC_LED_COLOR_YELLOW] = 1;
+ brightness_range[EC_LED_COLOR_ORANGE] = 1;
break;
case EC_LED_ID_POWER_LED:
brightness_range[EC_LED_COLOR_WHITE] = 1;