diff options
Diffstat (limited to 'board/scarlet/led.c')
-rw-r--r-- | board/scarlet/led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/scarlet/led.c b/board/scarlet/led.c index c550d3bad9..f4a3bae9f4 100644 --- a/board/scarlet/led.c +++ b/board/scarlet/led.c @@ -74,7 +74,7 @@ static void scarlet_led_set_battery(void) else if (charge_get_percent() < 10) bat_led_set_color((battery_second & 3) ? LED_OFF : LED_AMBER); - else if (charge_get_percent() >= BATTERY_LEVEL_NEAR_FULL && + else if (charge_get_percent() >= CONFIG_BATT_HOST_FULL_FACTOR && (chflags & CHARGE_FLAG_EXTERNAL_POWER)) bat_led_set_color(LED_GREEN); else |