summaryrefslogtreecommitdiff
path: root/tinyusb/common/errors.h
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/common/errors.h
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/common/errors.h')
-rw-r--r--tinyusb/common/errors.h6
1 files changed, 3 insertions, 3 deletions
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