summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c b/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c
index 183a6164f6..ab6393a9fe 100644
--- a/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c
+++ b/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c
@@ -83,11 +83,13 @@ void power_init(void)
83 * OF's setting, although it's not strictly within the USB spec. */ 83 * OF's setting, although it's not strictly within the USB spec. */
84 axp_set_charge_current(780); 84 axp_set_charge_current(780);
85 85
86#ifdef BOOTLOADER
86 /* Delay to give power outputs time to stabilize. 87 /* Delay to give power outputs time to stabilize.
87 * With the power thread delay, this can apparently go as low as 50, 88 * With the power thread delay, this can apparently go as low as 50,
88 * Keeping a higher value here just to ensure the bootloader works 89 * Keeping a higher value here just to ensure the bootloader works
89 * correctly. */ 90 * correctly. */
90 mdelay(200); 91 mdelay(200);
92#endif
91} 93}
92 94
93#ifdef HAVE_USB_CHARGING_ENABLE 95#ifdef HAVE_USB_CHARGING_ENABLE