ErosQNative: Fix mdelay calls due to g3859

The battery stabilization delay call seems to need to be
about 170 at minimum now, let's do 190 for safety (+20ms).

Change-Id: Ifd0248891abe827dfcc3e6baf48cc5bef0d0cc1c
This commit is contained in:
Dana Conrad 2021-10-05 12:17:38 -05:00 committed by Aidan MacDonald
parent 7a5130a277
commit 6253cdebed
1 changed files with 4 additions and 2 deletions

View File

@ -78,8 +78,10 @@ void power_init(void)
* OF's setting, although it's not strictly within the USB spec. */
axp_set_charge_current(780);
/* Short delay to give power outputs time to stabilize */
mdelay(5);
/* Delay to give power outputs time to stabilize.
* From testing, 170 is the minimum. Make it
* 190 for safety. */
mdelay(190);
}
#ifdef HAVE_USB_CHARGING_ENABLE