summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/samus/extpower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samus/extpower.c b/board/samus/extpower.c
index 3947dc7de9..1da30de076 100644
--- a/board/samus/extpower.c
+++ b/board/samus/extpower.c
@@ -289,7 +289,7 @@ static int log_charge_wedged(void)
static void check_charge_wedged(void)
{
- int rv, prochot_status, batt_discharging_on_ac, boostin_voltage;
+ int rv, prochot_status, batt_discharging_on_ac, boostin_voltage = 0;
static int counts_since_wedged;
static int charge_stalled_count = CHARGE_STALLED_COUNT;
uint8_t *batt_flags = host_get_memmap(EC_MEMMAP_BATT_FLAG);