1
0

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:
tmk 2016-02-17 08:18:03 +09:00
parent 5a0132f1c1
commit 657d9f23fe
3 changed files with 52 additions and 52 deletions

View File

@ -256,7 +256,7 @@ bool process_tapping(keyrecord_t *keyp)
return true;
}
} 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);
return true;
}

View File

@ -89,28 +89,28 @@ extern debug_config_t debug_config;
#else /* NO_DEBUG */
#define dprint(s)
#define dprintln(s)
#define dprintf(fmt, ...)
#define dmsg(s)
#define debug(s)
#define debugln(s)
#define debug_msg(s)
#define debug_dec(data)
#define debug_decs(data)
#define debug_hex4(data)
#define debug_hex8(data)
#define debug_hex16(data)
#define debug_hex32(data)
#define debug_bin8(data)
#define debug_bin16(data)
#define debug_bin32(data)
#define debug_bin_reverse8(data)
#define debug_bin_reverse16(data)
#define debug_bin_reverse32(data)
#define debug_hex(data)
#define debug_bin(data)
#define debug_bin_reverse(data)
#define dprint(s) ((void)0)
#define dprintln(s) ((void)0)
#define dprintf(fmt, ...) ((void)0)
#define dmsg(s) ((void)0)
#define debug(s) ((void)0)
#define debugln(s) ((void)0)
#define debug_msg(s) ((void)0)
#define debug_dec(data) ((void)0)
#define debug_decs(data) ((void)0)
#define debug_hex4(data) ((void)0)
#define debug_hex8(data) ((void)0)
#define debug_hex16(data) ((void)0)
#define debug_hex32(data) ((void)0)
#define debug_bin8(data) ((void)0)
#define debug_bin16(data) ((void)0)
#define debug_bin32(data) ((void)0)
#define debug_bin_reverse8(data) ((void)0)
#define debug_bin_reverse16(data) ((void)0)
#define debug_bin_reverse32(data) ((void)0)
#define debug_hex(data) ((void)0)
#define debug_bin(data) ((void)0)
#define debug_bin_reverse(data) ((void)0)
#endif /* NO_DEBUG */

View File

@ -99,35 +99,35 @@ void print_set_sendchar(int8_t (*print_sendchar_func)(uint8_t));
#else /* NO_PRINT */
#define xprintf(s,...)
#define print(s)
#define println(s)
#define print_set_sendchar(func)
#define print_dec(data)
#define print_decs(data)
#define print_hex4(data)
#define print_hex8(data)
#define print_hex16(data)
#define print_hex32(data)
#define print_bin4(data)
#define print_bin8(data)
#define print_bin16(data)
#define print_bin32(data)
#define print_bin_reverse8(data)
#define print_bin_reverse16(data)
#define print_bin_reverse32(data)
#define print_val_dec(v)
#define print_val_decs(v)
#define print_val_hex8(v)
#define print_val_hex16(v)
#define print_val_hex32(v)
#define print_val_bin8(v)
#define print_val_bin16(v)
#define print_val_bin32(v)
#define print_val_bin_reverse8(v)
#define print_val_bin_reverse16(v)
#define print_val_bin_reverse32(v)
#define init_printf(s,ss)
#define xprintf(s,...) ((void)0)
#define print(s) ((void)0)
#define println(s) ((void)0)
#define print_set_sendchar(func) ((void)0)
#define print_dec(data) ((void)0)
#define print_decs(data) ((void)0)
#define print_hex4(data) ((void)0)
#define print_hex8(data) ((void)0)
#define print_hex16(data) ((void)0)
#define print_hex32(data) ((void)0)
#define print_bin4(data) ((void)0)
#define print_bin8(data) ((void)0)
#define print_bin16(data) ((void)0)
#define print_bin32(data) ((void)0)
#define print_bin_reverse8(data) ((void)0)
#define print_bin_reverse16(data) ((void)0)
#define print_bin_reverse32(data) ((void)0)
#define print_val_dec(v) ((void)0)
#define print_val_decs(v) ((void)0)
#define print_val_hex8(v) ((void)0)
#define print_val_hex16(v) ((void)0)
#define print_val_hex32(v) ((void)0)
#define print_val_bin8(v) ((void)0)
#define print_val_bin16(v) ((void)0)
#define print_val_bin32(v) ((void)0)
#define print_val_bin_reverse8(v) ((void)0)
#define print_val_bin_reverse16(v) ((void)0)
#define print_val_bin_reverse32(v) ((void)0)
#define init_printf(s,ss) ((void)0)
#endif /* NO_PRINT */