diff options
| author | hathach <[email protected]> | 2013-01-19 00:57:58 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-01-19 00:57:58 +0700 |
| commit | cfe7a3d23b4639c3578b166fc865450bc439d82c (patch) | |
| tree | 7a831618538324b04bfd9e0f918a78a0aea92b34 /tinyusb/tusb.c | |
| parent | d8c8b9e38ad94ab84c24f22c2ecb79ce4d78b7ba (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/tusb.c')
| -rw-r--r-- | tinyusb/tusb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/tusb.c b/tinyusb/tusb.c index 5a9e3b98d..d5cdf532b 100644 --- a/tinyusb/tusb.c +++ b/tinyusb/tusb.c @@ -37,7 +37,7 @@ #include "tusb.h" -TUSB_Error_t tusb_init(void) +tusb_error_t tusb_init(void) { ASSERT_STATUS( hal_init() ) ; /* HARDWARE INIT */ @@ -49,5 +49,5 @@ TUSB_Error_t tusb_init(void) ASSERT_STATUS( dcd_init(0) ); #endif - return tERROR_NONE; + return TUSB_ERROR_NONE; } |
