summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lpc/ao_usb_lpc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lpc/ao_usb_lpc.c b/src/lpc/ao_usb_lpc.c
index c50e7528..d26a1437 100644
--- a/src/lpc/ao_usb_lpc.c
+++ b/src/lpc/ao_usb_lpc.c
@@ -1013,7 +1013,11 @@ void
ao_usb_init(void)
{
#if HAS_USB_PULLUP
+ int i;
ao_enable_output(AO_USB_PULLUP_PORT, AO_USB_PULLUP_PIN, AO_USB_PULLUP, 0);
+
+ for (i = 0; i < 40000; i++)
+ ao_arch_nop();
#endif
ao_usb_enable();