aboutsummaryrefslogtreecommitdiff
path: root/common/debug.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-10-16 11:20:49 +0900
committertmk <nobody@nowhere>2012-10-17 15:55:37 +0900
commite451c059296a4c9af7a476577fee64afb9965bca (patch)
tree2009c5193d43a47fa9f6973e46004cba583b57ba /common/debug.h
parentf7a445e537243f886d9cb022bede18859c9bfd12 (diff)
downloadqmk_firmware-e451c059296a4c9af7a476577fee64afb9965bca.tar.gz
qmk_firmware-e451c059296a4c9af7a476577fee64afb9965bca.zip
Fix commands
Diffstat (limited to 'common/debug.h')
-rw-r--r--common/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/debug.h b/common/debug.h
index 9cc8d882f..1d56e21f7 100644
--- a/common/debug.h
+++ b/common/debug.h
@@ -23,6 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
23 23
24 24
25#define debug(s) if(debug_enable) print_P(PSTR(s)) 25#define debug(s) if(debug_enable) print_P(PSTR(s))
26#define debug_P(s) if(debug_enable) print_P(s)
27#define debug_S(s) if(debug_enable) print_S(s)
26#define debug_hex(c) if(debug_enable) phex(c) 28#define debug_hex(c) if(debug_enable) phex(c)
27#define debug_hex16(i) if(debug_enable) phex16(i) 29#define debug_hex16(i) if(debug_enable) phex16(i)
28#define debug_bin(c) if(debug_enable) pbin(c) 30#define debug_bin(c) if(debug_enable) pbin(c)