diff options
Diffstat (limited to 'baseboard/volteer/led.c')
-rw-r--r-- | baseboard/volteer/led.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/baseboard/volteer/led.c b/baseboard/volteer/led.c index f063956a4c..7cb99d77ed 100644 --- a/baseboard/volteer/led.c +++ b/baseboard/volteer/led.c @@ -20,9 +20,12 @@ struct pwm_led led_color_map[] = { [EC_LED_COLOR_RED] = { 100, 0, 0 }, [EC_LED_COLOR_GREEN] = { 0, 100, 0 }, [EC_LED_COLOR_BLUE] = { 0, 0, 100 }, - [EC_LED_COLOR_YELLOW] = { 100, 100, 0 }, - [EC_LED_COLOR_WHITE] = { 100, 100, 100 }, - [EC_LED_COLOR_AMBER] = { 100, 75, 0 }, + /* The green LED seems to be brighter than the others, so turn down + * green from its natural level for these secondary colors. + */ + [EC_LED_COLOR_YELLOW] = { 100, 70, 0 }, + [EC_LED_COLOR_WHITE] = { 100, 70, 100 }, + [EC_LED_COLOR_AMBER] = { 100, 20, 0 }, }; struct pwm_led pwm_leds[] = { @@ -36,7 +39,6 @@ struct pwm_led pwm_leds[] = { void led_get_brightness_range(enum ec_led_id led_id, uint8_t *brightness_range) { - /* TODO(b/139554899): Consider letting these go up to 255. */ brightness_range[EC_LED_COLOR_RED] = 100; brightness_range[EC_LED_COLOR_GREEN] = 100; brightness_range[EC_LED_COLOR_BLUE] = 100; |