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/tusb_option.h | |
| parent | 5c6f8750daec8468fbaca1b208b8e83a2b575375 (diff) | |
change default TUSB_CFG_DEBUG to 0
change meaning of TUSB_CFG_DEBUG
Diffstat (limited to 'tinyusb/tusb_option.h')
| -rw-r--r-- | tinyusb/tusb_option.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tinyusb/tusb_option.h b/tinyusb/tusb_option.h index e4169d4cc..b1fd46ef0 100644 --- a/tinyusb/tusb_option.h +++ b/tinyusb/tusb_option.h @@ -107,14 +107,14 @@ //--------------------------------------------------------------------+
/**
determines the debug level for the stack
- - Level 3: ATTR_ALWAYS_INLINE is null, ASSERT has text, Error has its String, STATIC_VAR is NULL
- - Level 2: ATTR_ALWAYS_INLINE is attribute, ASSERT has no text, Error has no strings
- - Level 1: TBD
+ - Level 3: TBD
+ - Level 2: ATTR_ALWAYS_INLINE is null --> no function is inline
+ - Level 1: Print out if Assert failed. STATIC_VAR is NULL --> accessible when debugging
- Level 0: no debug information is generated
*/
#ifndef TUSB_CFG_DEBUG
- #define TUSB_CFG_DEBUG 2
- #warning TUSB_CFG_DEBUG is not defined, default value is 3
+ #define TUSB_CFG_DEBUG 0
+ #warning TUSB_CFG_DEBUG is not defined, default value is 0
#endif
#ifndef TUSB_CFG_ATTR_USBRAM
|
