diff options
Diffstat (limited to 'tinyusb/hal/hal_lpc13uxx.c')
| -rw-r--r-- | tinyusb/hal/hal_lpc13uxx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/hal/hal_lpc13uxx.c b/tinyusb/hal/hal_lpc13uxx.c index 8affb434a..02e3748c4 100644 --- a/tinyusb/hal/hal_lpc13uxx.c +++ b/tinyusb/hal/hal_lpc13uxx.c @@ -39,7 +39,7 @@ #if MCU == MCU_LPC13UXX -TUSB_Error_t hal_init() +tusb_error_t hal_init() { // TODO usb abstract later /* Enable AHB clock to the USB block and USB RAM. */ @@ -52,7 +52,7 @@ TUSB_Error_t hal_init() LPC_IOCON->PIO0_6 &= ~0x07; LPC_IOCON->PIO0_6 |= (0x01<<0); /* Secondary function SoftConn */ - return tERROR_NONE; + return TUSB_ERROR_NONE; } #endif |
