mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
Initialize LP5562 power on init
On init, we should either explicitly power on or off LP5562 in case. BUG=none TEST=Manual BRANCH=spring Change-Id: I7e331349090f3383da19f840762fa4d72a1a054b Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/46847 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user