Update main.c

Fix code where HID keyboard was being stuffed into the HID mouse buffer.
This commit is contained in:
corvus-ossifragus 2021-05-09 19:11:29 -04:00
parent 505ee0c8ea
commit 0621df8d26
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ void hid_task(void)
if ( !tuh_hid_keyboard_is_busy(addr) )
{
process_kbd_report(&usb_keyboard_report);
tuh_hid_keyboard_get_report(addr, &usb_mouse_report);
tuh_hid_keyboard_get_report(addr, &usb_keyboard_report);
}
}
#endif