pingpong coragem
Revision 8:d46f8eaac22a, committed 2020-10-15
- Comitter:
- brunnobbco
- Date:
- Thu Oct 15 20:34:45 2020 +0000
- Parent:
- 7:b988b60083a1
- Commit message:
- pingpong lora
Changed in this revision
debug/debug.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/debug/debug.h Mon Apr 24 09:26:08 2017 +0000 +++ b/debug/debug.h Thu Oct 15 20:34:45 2020 +0000 @@ -30,7 +30,7 @@ * * @param format printf-style format string, followed by variables */ -static inline void debug(const char *format, ...) { +static inline void debug_2(const char *format, ...) { va_list args; va_start(args, format); vfprintf(stderr, format, args); @@ -42,7 +42,7 @@ * @param condition output only if condition is true * @param format printf-style format string, followed by variables */ -static inline void debug_if(bool condition, const char *format, ...) { +static inline void debug_if_2(bool condition, const char *format, ...) { if(condition) { va_list args; va_start(args, format); @@ -53,8 +53,8 @@ #else -static inline void debug(const char *format, ...) {} -static inline void debug(bool condition, const char *format, ...) {} +static inline void debug_2(const char *format, ...) {} +static inline void debug_2(bool condition, const char *format, ...) {} #endif