From ccc65e620aeba998b274caf48a3880f3dca8de50 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 17 Apr 2014 10:33:59 +0700 Subject: change default TUSB_CFG_DEBUG to 0 change meaning of TUSB_CFG_DEBUG --- tinyusb/common/tusb_errors.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'tinyusb/common/tusb_errors.h') 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 -- cgit v1.3.1