mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-04 14:01:54 +00:00
samus: initiailze boostin_voltage in extpower module
Fix complile bug, initialize local var boostin_voltage. BUG=none BRANCH=samus TEST=make -j buildall Change-Id: Ie178d3bfe164fc900b1c52a05412f75d5a090ddd Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/250820 (cherry picked from commit 54f01a6c030ed7608a4bf0d673740a0dca24a52f) Reviewed-on: https://chromium-review.googlesource.com/250821 Reviewed-by: Shawn N <shawnn@chromium.org>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
724b3ef91e
commit
59e366ef63
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user