Fix usage of debug flag
This commit is contained in:
parent
9389585d3d
commit
16a583d7fd
7 changed files with 4 additions and 46 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue