summaryrefslogtreecommitdiff
path: root/protocol/lufa
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-10-27 03:07:37 +0900
committertmk <nobody@nowhere>2012-10-27 03:07:37 +0900
commit16a583d7fd057c3ebcb859db44f097fd8073ec49 (patch)
treec10f26cbf2e65b523cb1fa7e642c3d79b4873f13 /protocol/lufa
parent9389585d3d16319d5d739eef84f4ff11076235c1 (diff)
downloadqmk_firmware-16a583d7fd057c3ebcb859db44f097fd8073ec49.tar.gz
qmk_firmware-16a583d7fd057c3ebcb859db44f097fd8073ec49.zip
Fix usage of debug flag
Diffstat (limited to 'protocol/lufa')
-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 bff1f5e8b2..68f30dd162 100644
--- a/protocol/lufa/lufa.c
+++ b/protocol/lufa/lufa.c
@@ -461,19 +461,12 @@ int main(void) __attribute__ ((weak));
int main(void)
{
SetupHardware();
+ keyboard_init();
+ host_set_driver(&lufa_driver);
sei();
- print_enable = true;
- debug_enable = true;
- debug_matrix = true;
- debug_keyboard = true;
- debug_mouse = true;
-
// TODO: can't print here
debug("LUFA init\n");
-
- keyboard_init();
- host_set_driver(&lufa_driver);
while (1) {
keyboard_task();