diff options
| author | corvus-ossifragus <[email protected]> | 2021-05-09 19:11:29 -0400 |
|---|---|---|
| committer | corvus-ossifragus <[email protected]> | 2021-05-09 19:11:29 -0400 |
| commit | 0621df8d26a860ec31a2c66e8ba55f3366df7071 (patch) | |
| tree | 1524a15a6aabd4c1b8724dd8012efe0c22f0fd32 /examples | |
| parent | 505ee0c8eadd282ea15efd3e228eefffbeaf6981 (diff) | |
Update main.c
Fix code where HID keyboard was being stuffed into the HID mouse buffer.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/host/cdc_msc_hid/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/cdc_msc_hid/src/main.c b/examples/host/cdc_msc_hid/src/main.c index d941c56f3..c6ab54682 100644 --- a/examples/host/cdc_msc_hid/src/main.c +++ b/examples/host/cdc_msc_hid/src/main.c @@ -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 |
