X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Fdebug.h;h=1d56e21f77e6a69011dccb57d45769a93b093631;hb=edce1d19a6af040df994243e7b6b1851e3eccebc;hp=9cc8d882f376d8b954ce041ff715d65b09db2093;hpb=c5060ea81942b0e3f8577536ff78402a19abe3d3;p=max%2Ftmk_keyboard.git diff --git a/common/debug.h b/common/debug.h index 9cc8d882..1d56e21f 100644 --- a/common/debug.h +++ b/common/debug.h @@ -23,6 +23,8 @@ along with this program. If not, see . #define debug(s) if(debug_enable) print_P(PSTR(s)) +#define debug_P(s) if(debug_enable) print_P(s) +#define debug_S(s) if(debug_enable) print_S(s) #define debug_hex(c) if(debug_enable) phex(c) #define debug_hex16(i) if(debug_enable) phex16(i) #define debug_bin(c) if(debug_enable) pbin(c)