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

@@ -206,8 +206,6 @@ static int usbh_cdc_acm_connect(struct usbh_hubport *hport, uint8_t intf)
USB_LOG_INFO("Register CDC ACM Class:%s\r\n", hport->config.intf[intf].devname);
extern int cdc_acm_test();
cdc_acm_test();
return ret;
}

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;
}

View File

@@ -393,8 +393,6 @@ static int usbh_msc_connect(struct usbh_hubport *hport, uint8_t intf)
USB_LOG_INFO("Register MSC Class:%s\r\n", hport->config.intf[intf].devname);
extern int msc_test();
msc_test();
return ret;
}