diff options
| author | sakumisu <[email protected]> | 2022-09-12 13:00:45 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2022-09-12 13:00:45 +0800 |
| commit | 9615a468dcde143d1f121250dc4940372e35351e (patch) | |
| tree | cb5705cede4eab63503dccfda47b4f20574cf75b | |
| parent | d1c9bb663d1f10741b324a3405c0148efd743a9c (diff) | |
fix typo
| -rw-r--r-- | class/hub/usbh_hub.c | 4 | ||||
| -rw-r--r-- | 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(); |
