This commit is contained in:
sakumisu
2022-09-12 13:00:45 +08:00
parent d1c9bb663d
commit 9615a468dc
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
#define DEBOUNCE_TIME_STEP 25
#define DELAY_TIME_AFTER_RESET 200
#define EXTHUB_FIRST_INDEX 2
#define EXTHUB_FIRST_INDEX 2
static uint32_t g_devinuse = 0;
@@ -540,7 +540,7 @@ static void usbh_hub_events(struct usbh_hub *hub)
}
}
USB_LOG_INFO("Device on on Hub %u, Port %u disconnected\r\n", hub->index, port + 1);
USB_LOG_INFO("Device on Hub %u, Port %u disconnected\r\n", hub->index, port + 1);
usbh_device_unmount_done_callback(child);
memset(child, 0, sizeof(struct usbh_hubport));
}

View File

@@ -196,7 +196,7 @@ void usbh_device_unmount_done_callback(struct usbh_hubport *hport)
static void usbh_class_test_thread(void *argument)
{
while (1) {
printf("hellworld\r\n");
printf("helloworld\r\n");
usb_osal_msleep(1000);
cdc_acm_test();
msc_test();