1
0
Fork 0

new build method for macway

This commit is contained in:
tmk 2010-10-27 20:51:45 +09:00
parent 461e0d3d8c
commit 2f80e790c6
17 changed files with 432 additions and 227 deletions

9
tmk.c
View file

@ -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();