X2D lib first commit
Diff: X2D.h
- Revision:
- 22:2f87ca62099c
- Parent:
- 21:ffdda83d49e8
- Child:
- 23:87c967bdb0ff
--- a/X2D.h Sat Feb 08 10:08:45 2020 +0000 +++ b/X2D.h Sun Mar 01 15:39:39 2020 +0000 @@ -3,11 +3,11 @@ extern Serial pc; #ifndef __DEBUG__ -#define __DEBUG__ -#define Level 1 -#define DBG(x, ...) if (Level>=3) debug("[DBG]"x"\r\n", ##__VA_ARGS__); -#define WARN(x, ...) if (Level>=2) debug("[WARN]"x"\r\n", ##__VA_ARGS__); -#define ERR(x, ...) if (Level>=1) debug("[ERR]"x"\r\n", ##__VA_ARGS__); + #define __DEBUG__ 0 + #define Level 1 + #define DBG(x, ...) if (Level>=3) debug("[DBG]"x"\r\n", ##__VA_ARGS__); + #define WARN(x, ...) if (Level>=2) debug("[WARN]"x"\r\n", ##__VA_ARGS__); + #define ERR(x, ...) if (Level>=1) debug("[ERR]"x"\r\n", ##__VA_ARGS__); #endif extern unsigned short maison;