diff options
Diffstat (limited to 'board/mrbland/led.c')
-rw-r--r-- | board/mrbland/led.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/mrbland/led.c b/board/mrbland/led.c index fbc7bf3c19..9cacb4e3f3 100644 --- a/board/mrbland/led.c +++ b/board/mrbland/led.c @@ -100,7 +100,7 @@ static void board_led_set_battery(void) battery_ticks++; - switch (charge_get_state()) { + switch (led_pwr_get_state()) { case PWR_STATE_CHARGE: case PWR_STATE_CHARGE_NEAR_FULL: if (chipset_in_state(CHIPSET_STATE_ON | @@ -159,7 +159,7 @@ static void board_led_set_power(void) power_ticks++; - switch (charge_get_state()) { + switch (led_pwr_get_state()) { case PWR_STATE_CHARGE: case PWR_STATE_CHARGE_NEAR_FULL: case PWR_STATE_DISCHARGE: |