mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
core/debug: Fix documentation of ENABLE_DEBUG macro
This commit is contained in:
parent
0b9f3b4d5f
commit
981b4eb8d0
@ -32,12 +32,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @def ENABLE_DEBUG
|
||||
* @brief This macro can be defined as 0 or other on a file-based level.
|
||||
* @ref DEBUG() will generate output only if ENABLE_DEBUG is non-zero.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @def DEBUG_PRINT
|
||||
*
|
||||
@ -67,7 +61,11 @@ extern "C" {
|
||||
* @name Debugging defines
|
||||
* @{
|
||||
*/
|
||||
#ifndef ENABLE_DEBUG
|
||||
/**
|
||||
* @brief This macro can be defined as 0 or other on a file-based level.
|
||||
* @ref DEBUG() will generate output only if ENABLE_DEBUG is non-zero.
|
||||
*/
|
||||
#if !defined(ENABLE_DEBUG) || defined(DOXYGEN)
|
||||
#define ENABLE_DEBUG (0)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user