From 2f80e790c6310ad24a4cb3d4a72c31314364fef7 Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 27 Oct 2010 20:51:45 +0900 Subject: new build method for macway --- tmk.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tmk.c') diff --git a/tmk.c b/tmk.c index 1d4b8fb01..ae138623b 100644 --- a/tmk.c +++ b/tmk.c @@ -69,8 +69,11 @@ int main(void) matrix_init(); matrix_scan(); - // debug on by pressing down any 4 keys during boot time. - if (matrix_key_count() == 4) print_enable = true; + // debug on by pressing down any 4 or more keys during boot time. + if (matrix_key_count() >= 4) { + print_enable = true; + debug_enable = true; + } /* wait for debug pipe ready */ if (print_enable) { @@ -87,7 +90,7 @@ int main(void) #endif } // print description - print(XSTR(DESCRIPTION)); + print(STR(DESCRIPTION) "\n"); while (1) { proc_matrix(); -- cgit v1.2.3