1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

core/debug: Fix documentation of ENABLE_DEBUG macro

This commit is contained in:
Leandro Lanzieri 2020-02-18 11:26:41 +01:00
parent 0b9f3b4d5f
commit 981b4eb8d0

View File

@ -32,12 +32,6 @@
extern "C" { extern "C" {
#endif #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 * @def DEBUG_PRINT
* *
@ -67,7 +61,11 @@ extern "C" {
* @name Debugging defines * @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) #define ENABLE_DEBUG (0)
#endif #endif