Basic debug library
Dependents: modem_ref_helper_for_v5_3_217 modem_ref_helper
Diff: WizziDebug.h
- Revision:
- 8:87a867b8a129
- Parent:
- 7:8e75991f65e5
- Child:
- 10:0e6e54fb08c0
--- a/WizziDebug.h Tue Apr 02 08:54:07 2019 +0000 +++ b/WizziDebug.h Wed Jul 31 16:49:03 2019 +0000 @@ -53,16 +53,16 @@ #ifdef _PRINT_ERRORS_ - #define EPRINT(...) dbg_print("ERROR: "__VA_ARGS__) + #define EPRINT(format,...) dbg_print("ERROR: "format, __VA_ARGS__) #else #define EPRINT(...); #endif #ifdef _PRINT_WARNINGS_ - #define WARNING(w,...) do { if(!(w)) { dbg_print("WARNING: "__VA_ARGS__); } } while(0) + #define WARNING(w,format,...) do { if(!(w)) { dbg_print("WARNING: "format, __VA_ARGS__); } } while(0) #else - #define WARNING(w,...); + #define WARNING(...); #endif