summaryrefslogtreecommitdiff
path: root/board/reef/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/reef/led.c')
-rw-r--r--board/reef/led.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/reef/led.c b/board/reef/led.c
index b559a00da8..807b1c109c 100644
--- a/board/reef/led.c
+++ b/board/reef/led.c
@@ -109,8 +109,7 @@ static void led_set_battery(void)
case PWR_STATE_DISCHARGE /* and PWR_STATE_DISCHARGE_FULL */:
if (chipset_in_state(CHIPSET_STATE_ON)) {
led_set_color_battery(LED_BLUE);
- } else if (chipset_in_state(CHIPSET_STATE_SUSPEND |
- CHIPSET_STATE_STANDBY)) {
+ } else if (chipset_in_state(CHIPSET_STATE_ANY_SUSPEND)) {
/* Blink once every four seconds. */
led_set_color_battery(
(suspend_ticks % LED_TOTAL_4SECS_TICKS)