X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Fdebug.h;h=e63d46f0e9e0dbd398da756b45a7d0218f939f8c;hb=e324fa29187dff7868d9d7fd378e0e46d77107a5;hp=c12f2cb004180b7c0a75039aff6748d06dc45445;hpb=9389585d3d16319d5d739eef84f4ff11076235c1;p=max%2Ftmk_keyboard.git diff --git a/common/debug.h b/common/debug.h index c12f2cb0..e63d46f0 100644 --- a/common/debug.h +++ b/common/debug.h @@ -36,6 +36,7 @@ along with this program. If not, see . #define debug_dec(data) do { if (debug_enable) print_dec(data); } while (0) #define debug_decs(data) do { if (debug_enable) print_decs(data); } while (0) +#define debug_hex4(data) do { if (debug_enable) print_hex4(data); } while (0) #define debug_hex8(data) do { if (debug_enable) print_hex8(data); } while (0) #define debug_hex16(data) do { if (debug_enable) print_hex16(data); } while (0) #define debug_hex32(data) do { if (debug_enable) print_hex32(data); } while (0) @@ -46,7 +47,6 @@ along with this program. If not, see . #define debug_bin_reverse16(data) do { if (debug_enable) print_bin_reverse16(data); } while (0) #define debug_bin_reverse32(data) do { if (debug_enable) print_bin_reverse32(data); } while (0) -#define debug_dec(data) debug_dec(data) #define debug_hex(data) debug_hex8(data) #define debug_bin(data) debug_bin8(data) #define debug_bin_reverse(data) debug_bin8(data)