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
This commit is contained in:
hathach
2013-01-19 00:57:58 +07:00
parent d8c8b9e38a
commit cfe7a3d23b
20 changed files with 55 additions and 48 deletions

View File

@@ -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;
}