![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
d
Dependencies: DebounceIn RTC-DS1307 TextLCD mbed
Fork of Rtc_Ds1307_Sample13 by
Diff: debug.h
- Revision:
- 4:90bd2114c87b
- Parent:
- 2:3be003301107
--- a/debug.h Tue Apr 25 18:33:20 2017 +0000 +++ b/debug.h Sat May 05 14:24:05 2018 +0000 @@ -1,7 +1,7 @@ #ifndef __DEBUG_H__ #define __DEBUG_H__ - - + + #ifdef DEBUG #define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); #define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); @@ -11,6 +11,6 @@ #define WARN(x, ...) #define ERR(x, ...) #endif - - + + #endif \ No newline at end of file