Squashed 'tmk_core/' changes from 97c7ed4..ee8c5ba
ee8c5ba Remove warnings when NO_DEBUG is defined a71e6e0 Remove warnings when NO_PRINT is defined git-subtree-dir: tmk_core git-subtree-split: ee8c5baecc9acf37976de36f56551fc9e6b92968
This commit is contained in:
parent
5a0132f1c1
commit
657d9f23fe
@ -256,7 +256,7 @@ bool process_tapping(keyrecord_t *keyp)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!IS_NOEVENT(event)) debug("Tapping: other key just after tap.\n") {};
|
if (!IS_NOEVENT(event)) debug("Tapping: other key just after tap.\n");
|
||||||
process_action(keyp);
|
process_action(keyp);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -89,28 +89,28 @@ extern debug_config_t debug_config;
|
|||||||
|
|
||||||
#else /* NO_DEBUG */
|
#else /* NO_DEBUG */
|
||||||
|
|
||||||
#define dprint(s)
|
#define dprint(s) ((void)0)
|
||||||
#define dprintln(s)
|
#define dprintln(s) ((void)0)
|
||||||
#define dprintf(fmt, ...)
|
#define dprintf(fmt, ...) ((void)0)
|
||||||
#define dmsg(s)
|
#define dmsg(s) ((void)0)
|
||||||
#define debug(s)
|
#define debug(s) ((void)0)
|
||||||
#define debugln(s)
|
#define debugln(s) ((void)0)
|
||||||
#define debug_msg(s)
|
#define debug_msg(s) ((void)0)
|
||||||
#define debug_dec(data)
|
#define debug_dec(data) ((void)0)
|
||||||
#define debug_decs(data)
|
#define debug_decs(data) ((void)0)
|
||||||
#define debug_hex4(data)
|
#define debug_hex4(data) ((void)0)
|
||||||
#define debug_hex8(data)
|
#define debug_hex8(data) ((void)0)
|
||||||
#define debug_hex16(data)
|
#define debug_hex16(data) ((void)0)
|
||||||
#define debug_hex32(data)
|
#define debug_hex32(data) ((void)0)
|
||||||
#define debug_bin8(data)
|
#define debug_bin8(data) ((void)0)
|
||||||
#define debug_bin16(data)
|
#define debug_bin16(data) ((void)0)
|
||||||
#define debug_bin32(data)
|
#define debug_bin32(data) ((void)0)
|
||||||
#define debug_bin_reverse8(data)
|
#define debug_bin_reverse8(data) ((void)0)
|
||||||
#define debug_bin_reverse16(data)
|
#define debug_bin_reverse16(data) ((void)0)
|
||||||
#define debug_bin_reverse32(data)
|
#define debug_bin_reverse32(data) ((void)0)
|
||||||
#define debug_hex(data)
|
#define debug_hex(data) ((void)0)
|
||||||
#define debug_bin(data)
|
#define debug_bin(data) ((void)0)
|
||||||
#define debug_bin_reverse(data)
|
#define debug_bin_reverse(data) ((void)0)
|
||||||
|
|
||||||
#endif /* NO_DEBUG */
|
#endif /* NO_DEBUG */
|
||||||
|
|
||||||
|
@ -99,35 +99,35 @@ void print_set_sendchar(int8_t (*print_sendchar_func)(uint8_t));
|
|||||||
|
|
||||||
#else /* NO_PRINT */
|
#else /* NO_PRINT */
|
||||||
|
|
||||||
#define xprintf(s,...)
|
#define xprintf(s,...) ((void)0)
|
||||||
#define print(s)
|
#define print(s) ((void)0)
|
||||||
#define println(s)
|
#define println(s) ((void)0)
|
||||||
#define print_set_sendchar(func)
|
#define print_set_sendchar(func) ((void)0)
|
||||||
#define print_dec(data)
|
#define print_dec(data) ((void)0)
|
||||||
#define print_decs(data)
|
#define print_decs(data) ((void)0)
|
||||||
#define print_hex4(data)
|
#define print_hex4(data) ((void)0)
|
||||||
#define print_hex8(data)
|
#define print_hex8(data) ((void)0)
|
||||||
#define print_hex16(data)
|
#define print_hex16(data) ((void)0)
|
||||||
#define print_hex32(data)
|
#define print_hex32(data) ((void)0)
|
||||||
#define print_bin4(data)
|
#define print_bin4(data) ((void)0)
|
||||||
#define print_bin8(data)
|
#define print_bin8(data) ((void)0)
|
||||||
#define print_bin16(data)
|
#define print_bin16(data) ((void)0)
|
||||||
#define print_bin32(data)
|
#define print_bin32(data) ((void)0)
|
||||||
#define print_bin_reverse8(data)
|
#define print_bin_reverse8(data) ((void)0)
|
||||||
#define print_bin_reverse16(data)
|
#define print_bin_reverse16(data) ((void)0)
|
||||||
#define print_bin_reverse32(data)
|
#define print_bin_reverse32(data) ((void)0)
|
||||||
#define print_val_dec(v)
|
#define print_val_dec(v) ((void)0)
|
||||||
#define print_val_decs(v)
|
#define print_val_decs(v) ((void)0)
|
||||||
#define print_val_hex8(v)
|
#define print_val_hex8(v) ((void)0)
|
||||||
#define print_val_hex16(v)
|
#define print_val_hex16(v) ((void)0)
|
||||||
#define print_val_hex32(v)
|
#define print_val_hex32(v) ((void)0)
|
||||||
#define print_val_bin8(v)
|
#define print_val_bin8(v) ((void)0)
|
||||||
#define print_val_bin16(v)
|
#define print_val_bin16(v) ((void)0)
|
||||||
#define print_val_bin32(v)
|
#define print_val_bin32(v) ((void)0)
|
||||||
#define print_val_bin_reverse8(v)
|
#define print_val_bin_reverse8(v) ((void)0)
|
||||||
#define print_val_bin_reverse16(v)
|
#define print_val_bin_reverse16(v) ((void)0)
|
||||||
#define print_val_bin_reverse32(v)
|
#define print_val_bin_reverse32(v) ((void)0)
|
||||||
#define init_printf(s,ss)
|
#define init_printf(s,ss) ((void)0)
|
||||||
|
|
||||||
#endif /* NO_PRINT */
|
#endif /* NO_PRINT */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user