X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Fdebug.h;h=1d56e21f77e6a69011dccb57d45769a93b093631;hb=81141ad0eba1a9db9abd0f7903d8077c28e76b40;hp=9cc8d882f376d8b954ce041ff715d65b09db2093;hpb=dc79a8521946a3a2e5b86945b8043b87a8b8d78c;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)