mbed library
Fork of mbed by
Diff: mbed_debug.h
- Revision:
- 55:d722ed6a4237
- Parent:
- 54:71b101360fb9
- Child:
- 59:0883845fe643
--- a/mbed_debug.h Tue Jan 08 12:46:36 2013 +0000 +++ b/mbed_debug.h Wed Jan 16 12:56:34 2013 +0000 @@ -32,7 +32,7 @@ #include <stdarg.h> /** Output a debug message - * + * * @param format printf-style format string, followed by variables */ static inline void debug(const char *format, ...) { @@ -41,12 +41,12 @@ vfprintf(stderr, format, args); va_end(args); } - + /** Conditionally output a debug message - * + * * NOTE: If the condition is constant false (!= 1) and the compiler optimization * level is greater than 0, then the whole function will be compiled away. - * + * * @param condition output only if condition is true (== 1) * @param format printf-style format string, followed by variables */