diff options
author | tmk <nobody@nowhere> | 2012-10-25 03:28:25 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2012-10-27 02:27:09 +0900 |
commit | 220de27bed198c2ea27886986de7afd8013d5545 (patch) | |
tree | 7360d98d3d0280596a2d69ba39e160d854f31ea1 /common/mousekey.c | |
parent | ad24858e4fec8bb9af9d89ebf42cda3fffcfdff5 (diff) | |
download | qmk_firmware-220de27bed198c2ea27886986de7afd8013d5545.tar.gz qmk_firmware-220de27bed198c2ea27886986de7afd8013d5545.zip |
Add print_dec() and debug_dec().
Diffstat (limited to 'common/mousekey.c')
-rw-r--r-- | common/mousekey.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/mousekey.c b/common/mousekey.c index d26b26306f..3068fc5e37 100644 --- a/common/mousekey.c +++ b/common/mousekey.c @@ -187,10 +187,10 @@ static void mousekey_debug(void) if (!debug_mouse) return; print("mousekey [btn|x y v h](rep/acl): ["); phex(mouse_report.buttons); print("|"); - phex(mouse_report.x); print(" "); - phex(mouse_report.y); print(" "); - phex(mouse_report.v); print(" "); - phex(mouse_report.h); print("]("); - phex(mousekey_repeat); print("/"); - phex(mousekey_accel); print(")\n"); + print_decs(mouse_report.x); print(" "); + print_decs(mouse_report.y); print(" "); + print_decs(mouse_report.v); print(" "); + print_decs(mouse_report.h); print("]("); + print_dec(mousekey_repeat); print("/"); + print_dec(mousekey_accel); print(")\n"); } |