fix hid generic various error

This commit is contained in:
hathach
2018-07-28 20:15:20 +07:00
parent c729db2294
commit 8b17c54609
7 changed files with 81 additions and 62 deletions

View File

@@ -328,14 +328,11 @@ static void usbd_reset(uint8_t rhport)
tud_desc_set.hid_report.boot_mouse = _desc_auto_hid_boot_mse_report;
#endif
#if 0 // CFG_TUD_HID_BOOT_PROTOCOL
#if CFG_TUD_HID_KEYBOARD + CFG_TUD_HID_MOUSE
tud_desc_set.hid_report.composite = ;
#if TUD_OPT_HID_GENERIC
extern uint8_t const _desc_auto_hid_generic_report[];
tud_desc_set.hid_report.generic = _desc_auto_hid_generic_report;
#endif
#endif
#endif // CFG_TUD_DESC_AUTO
}