summaryrefslogtreecommitdiff
path: root/tinyusb/hal/hal_lpc13uxx.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-01-19 00:57:58 +0700
committerhathach <[email protected]>2013-01-19 00:57:58 +0700
commitcfe7a3d23b4639c3578b166fc865450bc439d82c (patch)
tree7a831618538324b04bfd9e0f918a78a0aea92b34 /tinyusb/hal/hal_lpc13uxx.c
parentd8c8b9e38ad94ab84c24f22c2ecb79ce4d78b7ba (diff)
change error type to lower case for more consistency
change Error Enum to TUSB prefix for more consistency start to add check for OS configure
Diffstat (limited to 'tinyusb/hal/hal_lpc13uxx.c')
-rw-r--r--tinyusb/hal/hal_lpc13uxx.c4
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