summaryrefslogtreecommitdiff
path: root/src/lpc/ao_usb_lpc.c
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2018-10-08 21:01:07 -0600
committerBdale Garbee <bdale@gag.com>2018-10-08 21:01:07 -0600
commit5ae3f24d25b4b2846f6c3097c41408e45dd357f9 (patch)
tree70c42303954f1873124c1f48ee8e603c41f5ff8d /src/lpc/ao_usb_lpc.c
parent676a30ea6b4acedbba41d9153bb66d47b2ab011b (diff)
parent3d3a4c95f8f24d93261f70d061a5ec268266fefc (diff)
Merge branch 'branch-1.8' into debian
Diffstat (limited to 'src/lpc/ao_usb_lpc.c')
-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();