Merge pull request #824 from corvus-ossifragus/fix-keyboard-hid-report-buffer

Update main.c
This commit is contained in:
Ha Thach 2021-05-10 19:21:33 +07:00 committed by GitHub
commit 1e8a129149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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