summaryrefslogtreecommitdiff
path: root/src/lpc/ao_usb_lpc.c
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2018-10-08 20:58:43 -0600
committerBdale Garbee <bdale@gag.com>2018-10-08 20:58:43 -0600
commitf3330f019216ee2632f47be1fb06e158fb09d758 (patch)
tree8a7086aff3671af36ac5bf7ca02e00c166c9950c /src/lpc/ao_usb_lpc.c
parent5a86ff43a2b4a90dbddc1bba48019626e1b83e10 (diff)
parente7136c6b413c8464d32cdc4afc28c93ba1f17a3b (diff)
Merge branch 'master' into branch-1.8
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();