diff --git a/common/lp5562_battery_led.c b/common/lp5562_battery_led.c index eb1f1f9cd1..65457c60a0 100644 --- a/common/lp5562_battery_led.c +++ b/common/lp5562_battery_led.c @@ -61,7 +61,7 @@ static void battery_led_update(void) /* Current states and next states */ static uint32_t color = LED_COLOR_RED; static int breathing; - static int led_power; + static int led_power = -1; int new_color = LED_COLOR_RED; int new_breathing = 0; int new_led_power;