ErosQ Native: Make power delay bootloader-only

gotta go fast

Change-Id: Ic01e4aa70a2bec4c48ae7cf8f32f8dfd366decad
This commit is contained in:
Dana Conrad 2022-03-25 22:44:19 -05:00 committed by Aidan MacDonald
parent 7aa2a23b95
commit de285741bf

View file

@ -83,11 +83,13 @@ void power_init(void)
* OF's setting, although it's not strictly within the USB spec. */
axp_set_charge_current(780);
#ifdef BOOTLOADER
/* Delay to give power outputs time to stabilize.
* With the power thread delay, this can apparently go as low as 50,
* Keeping a higher value here just to ensure the bootloader works
* correctly. */
mdelay(200);
#endif
}
#ifdef HAVE_USB_CHARGING_ENABLE