Created
November 28, 2019 23:34
-
-
Save C47D/a9f540e3400a53ee5c43b2ed9a425d2d to your computer and use it in GitHub Desktop.
Habilitar y deshabilitar mensajes de depuración definiendo un simbolo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define DEBUG_MP3_PLAYER | |
#ifdef DEBUG_MP3_PLAYER | |
#define DEBUG_(fmt, ...) \ | |
DBG_println(fmt, __VA_ARGS__) | |
#define DEBUG(...) \ | |
DEBUG_(__VA_ARGS__, "") | |
#else | |
#define DEBUG(fmt, ...) | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment