mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 05:35:02 -05:00
ErosQ Native: Make power delay bootloader-only
gotta go fast Change-Id: Ic01e4aa70a2bec4c48ae7cf8f32f8dfd366decad
This commit is contained in:
parent
7aa2a23b95
commit
de285741bf
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue