diff options
| author | hathach <[email protected]> | 2014-04-17 10:33:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-04-17 10:33:59 +0700 |
| commit | ccc65e620aeba998b274caf48a3880f3dca8de50 (patch) | |
| tree | 1b56588ca472c08a9e7ec6cf47dda824d312bdc4 /tinyusb/common/tusb_errors.h | |
| parent | 5c6f8750daec8468fbaca1b208b8e83a2b575375 (diff) | |
change default TUSB_CFG_DEBUG to 0
change meaning of TUSB_CFG_DEBUG
Diffstat (limited to 'tinyusb/common/tusb_errors.h')
| -rw-r--r-- | tinyusb/common/tusb_errors.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tinyusb/common/tusb_errors.h b/tinyusb/common/tusb_errors.h index 81b1f0906..74777e670 100644 --- a/tinyusb/common/tusb_errors.h +++ b/tinyusb/common/tusb_errors.h @@ -38,8 +38,7 @@ /** \ingroup Group_Common
* \defgroup Group_Error Error Codes
- * @{
- */
+ * @{ */
#ifndef _TUSB_ERRORS_H_
#define _TUSB_ERRORS_H_
@@ -94,15 +93,13 @@ ENTRY(TUSB_ERROR_FAILED )\
-/** \enum tusb_error_t
- * \brief Error Code returned
- */
+/// \brief Error Code returned
typedef enum {
ERROR_TABLE(ERROR_ENUM)
TUSB_ERROR_COUNT
}tusb_error_t;
-#if TUSB_CFG_DEBUG == 3
+#if TUSB_CFG_DEBUG
/// Enum to String for debugging purposes. Only available if \ref TUSB_CFG_DEBUG > 0
extern char const* const TUSB_ErrorStr[TUSB_ERROR_COUNT];
#endif
|
