merge class rx setup functions into one

This commit is contained in:
sakumisu
2022-07-31 20:27:24 +08:00
parent b835c9ccd2
commit 8283bb1c80
12 changed files with 242 additions and 476 deletions

View File

@@ -175,10 +175,6 @@ static void hid_notify_handler(uint8_t event, void *arg)
case USBD_EVENT_RESET:
usbd_hid_reset();
break;
case USBD_EVENT_CONFIGURED:
usbd_hid_setup();
break;
default:
break;
}
@@ -261,8 +257,4 @@ __WEAK void usbh_hid_set_idle(uint8_t intf, uint8_t report_id, uint8_t duration)
__WEAK void usbh_hid_set_protocol(uint8_t intf, uint8_t protocol)
{
}
__WEAK void usbd_hid_setup(void)
{
}