diff options
| author | Ha Thach <[email protected]> | 2021-05-10 19:21:33 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-10 19:21:33 +0700 |
| commit | 1e8a1291498e9116b362fcb879d8be59c1e89cee (patch) | |
| tree | 1524a15a6aabd4c1b8724dd8012efe0c22f0fd32 /examples | |
| parent | 505ee0c8eadd282ea15efd3e228eefffbeaf6981 (diff) | |
| parent | 0621df8d26a860ec31a2c66e8ba55f3366df7071 (diff) | |
Merge pull request #824 from corvus-ossifragus/fix-keyboard-hid-report-buffer
Update main.c
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 |
