avec dfu
Fork of Utils by
Diff: Utils.h
- Revision:
- 10:21f3ff5d6a3d
- Parent:
- 9:fa2818db80cf
- Child:
- 11:a41267cffa61
--- a/Utils.h Fri Feb 23 19:05:27 2018 +0000 +++ b/Utils.h Sat Feb 24 16:55:04 2018 +0000 @@ -17,12 +17,12 @@ #define Flash_SCK PA_5 #define Flash_CS PB_6 -#define DEBUG_UTILS 0 +#define DEBUG_MODE 0 -#if DEBUG_UTILS -#define DEBUG_U(...) { printf(__VA_ARGS__); fflush(stdout);} +#if DEBUG_MODE +#define DEBUG(...) { printf(__VA_ARGS__); fflush(stdout);} #else -#define DEBUG_U(...) +#define DEBUG(...) #endif /** Utils class.