diff options
| author | hathach <[email protected]> | 2013-11-11 12:48:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-11-11 12:48:21 +0700 |
| commit | f00a4b448d85c4cf36edb8dc7245d7c3fa1c07ec (patch) | |
| tree | 8a0187580fbc26779f32515d54cb5e2a4190f4b8 /tinyusb/hal/hal_lpc13uxx.c | |
| parent | 9cb99d371693a4294d8d9fb190ca23c1043da755 (diff) | |
adding support for lpc13uxx
Diffstat (limited to 'tinyusb/hal/hal_lpc13uxx.c')
| -rw-r--r-- | tinyusb/hal/hal_lpc13uxx.c | 3 |
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; } |
