add mount callback for device, move tests in mount callback

This commit is contained in:
sakumisu
2022-08-12 21:35:17 +08:00
parent 88f710458c
commit 628ee1f74d
7 changed files with 32 additions and 17 deletions

View File

@@ -163,8 +163,6 @@ int usbh_hid_connect(struct usbh_hubport *hport, uint8_t intf)
USB_LOG_INFO("Register HID Class:%s\r\n", hport->config.intf[intf].devname);
extern int hid_test();
hid_test();
return 0;
}