diff options
| author | hathach <[email protected]> | 2018-07-28 18:14:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-07-28 18:14:30 +0700 |
| commit | c729db229422a2771be394ea4ac8de65eac619e4 (patch) | |
| tree | 2e57deaccda8bd330513d2192475dfa421b56d61 /src/device/usbd.c | |
| parent | 6034553be7fed82e56da572fad798220117e8f1f (diff) | |
beter hid report
Diffstat (limited to 'src/device/usbd.c')
| -rw-r--r-- | src/device/usbd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index f6b55a81d..49fee44c2 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -319,13 +319,13 @@ static void usbd_reset(uint8_t rhport) tud_desc_set.config = _desc_auto_config;
#if CFG_TUD_HID_KEYBOARD && CFG_TUD_DESC_BOOT_KEYBOARD
- extern uint8_t const _desc_auto_hid_kbd_report[];
- tud_desc_set.hid_report.boot_keyboard = _desc_auto_hid_kbd_report;
+ extern uint8_t const _desc_auto_hid_boot_kbd_report[];
+ tud_desc_set.hid_report.boot_keyboard = _desc_auto_hid_boot_kbd_report;
#endif
#if CFG_TUD_HID_MOUSE && CFG_TUD_DESC_BOOT_MOUSE
- extern uint8_t const _desc_auto_hid_mse_report[];
- tud_desc_set.hid_report.boot_mouse = _desc_auto_hid_mse_report;
+ extern uint8_t const _desc_auto_hid_boot_mse_report[];
+ tud_desc_set.hid_report.boot_mouse = _desc_auto_hid_boot_mse_report;
#endif
#if 0 // CFG_TUD_HID_BOOT_PROTOCOL
|
