diff options
Diffstat (limited to 'board/wormdingler/led.c')
-rw-r--r-- | board/wormdingler/led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/wormdingler/led.c b/board/wormdingler/led.c index 438b2cae33..b1e819a92f 100644 --- a/board/wormdingler/led.c +++ b/board/wormdingler/led.c @@ -91,7 +91,7 @@ static void board_led_set_battery(void) /* battery capa <= 5%, Red */ color = LED_RED; } else if (percent > BATTERY_LEVEL_CRITICAL && - percent < BATTERY_LEVEL_NEAR_FULL) { + percent < CONFIG_BATT_HOST_FULL_FACTOR) { /* 5% < battery capa < 97%, Orange */ color = LED_AMBER; } else { |