change default TUSB_CFG_DEBUG to 0

change meaning of TUSB_CFG_DEBUG
This commit is contained in:
hathach
2014-04-17 10:33:59 +07:00
parent 5c6f8750da
commit ccc65e620a
8 changed files with 52 additions and 53 deletions

View File

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