From 9615a468dcde143d1f121250dc4940372e35351e Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Mon, 12 Sep 2022 13:00:45 +0800 Subject: [PATCH] fix typo --- class/hub/usbh_hub.c | 4 ++-- demo/usb_host.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/class/hub/usbh_hub.c b/class/hub/usbh_hub.c index 31769160..3efdc195 100644 --- a/class/hub/usbh_hub.c +++ b/class/hub/usbh_hub.c @@ -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)); } diff --git a/demo/usb_host.c b/demo/usb_host.c index 8fec0417..a79c580b 100644 --- a/demo/usb_host.c +++ b/demo/usb_host.c @@ -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();