From 8cfb3712d58e4a88029dfd00111714e91939005e Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 22 Aug 2010 23:58:37 +0900 Subject: matrix scan & default keymap --- print.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'print.c') diff --git a/print.c b/print.c index e6aa1fe52b..2f0617c64f 100644 --- a/print.c +++ b/print.c @@ -58,5 +58,9 @@ void phex16(unsigned int i) } - - +void pbin(unsigned char c) +{ + for (int i=7; i>=0; i--) { + usb_debug_putchar((c & (1<