From cfe7a3d23b4639c3578b166fc865450bc439d82c Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 19 Jan 2013 00:57:58 +0700 Subject: 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 --- tinyusb/common/errors.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tinyusb/common/errors.h') diff --git a/tinyusb/common/errors.h b/tinyusb/common/errors.h index ae3d4a7cb..aa373e357 100644 --- a/tinyusb/common/errors.h +++ b/tinyusb/common/errors.h @@ -59,17 +59,17 @@ #define ERROR_STRING(x) #x, #define ERROR_TABLE(ENTRY) \ - ENTRY(tERROR_NONE)\ + ENTRY(TUSB_ERROR_NONE)\ ENTRY(tERROR_FAILED)\ -/** \enum TUSB_Error_t +/** \enum tusb_error_t * \brief Error Code returned */ typedef enum { ERROR_TABLE(ERROR_ENUM) ERROR_COUNT -}TUSB_Error_t; +}tusb_error_t; #if TUSB_CFG_DEBUG == 3 /// Enum to String for debugging purposes. Only available if \ref TUSB_CFG_DEBUG > 0 -- cgit v1.3.1