summaryrefslogtreecommitdiff
path: root/tinyusb/hal/hal_lpc13uxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/hal/hal_lpc13uxx.c')
-rw-r--r--tinyusb/hal/hal_lpc13uxx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tinyusb/hal/hal_lpc13uxx.c b/tinyusb/hal/hal_lpc13uxx.c
index d4e3fa984..fad4ea888 100644
--- a/tinyusb/hal/hal_lpc13uxx.c
+++ b/tinyusb/hal/hal_lpc13uxx.c
@@ -57,6 +57,9 @@ tusb_error_t hal_init(void)
LPC_IOCON->PIO0_6 &= ~0x07;
LPC_IOCON->PIO0_6 |= (0x01<<0); /* Secondary function SoftConn */
+ dcd_controller_connect(0);
+ hal_interrupt_enable(0);
+
return TUSB_ERROR_NONE;
}