diff options
author | tmk <nobody@nowhere> | 2010-10-27 20:51:45 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-10-27 22:56:01 +0900 |
commit | 2f80e790c6310ad24a4cb3d4a72c31314364fef7 (patch) | |
tree | aad001abdb61ff736e580f98184ab7cd9e870648 /tmk.c | |
parent | 461e0d3d8c82cc78d29d3115af3c417bb51bb50f (diff) | |
download | qmk_firmware-2f80e790c6310ad24a4cb3d4a72c31314364fef7.tar.gz qmk_firmware-2f80e790c6310ad24a4cb3d4a72c31314364fef7.zip |
new build method for macway
Diffstat (limited to 'tmk.c')
-rw-r--r-- | tmk.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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(); |