aboutsummaryrefslogtreecommitdiff
path: root/protocol/lufa/lufa.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/lufa/lufa.c')
-rw-r--r--protocol/lufa/lufa.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/protocol/lufa/lufa.c b/protocol/lufa/lufa.c
index bff1f5e8b..68f30dd16 100644
--- a/protocol/lufa/lufa.c
+++ b/protocol/lufa/lufa.c
@@ -461,19 +461,12 @@ int main(void) __attribute__ ((weak));
461int main(void) 461int main(void)
462{ 462{
463 SetupHardware(); 463 SetupHardware();
464 keyboard_init();
465 host_set_driver(&lufa_driver);
464 sei(); 466 sei();
465 467
466 print_enable = true;
467 debug_enable = true;
468 debug_matrix = true;
469 debug_keyboard = true;
470 debug_mouse = true;
471
472 // TODO: can't print here 468 // TODO: can't print here
473 debug("LUFA init\n"); 469 debug("LUFA init\n");
474
475 keyboard_init();
476 host_set_driver(&lufa_driver);
477 while (1) { 470 while (1) {
478 keyboard_task(); 471 keyboard_task();
479 472