sakumisu 3 vuotta sitten
vanhempi
sitoutus
9615a468dc
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 2 2
      class/hub/usbh_hub.c
  2. 1 1
      demo/usb_host.c

+ 2 - 2
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));
             }

+ 1 - 1
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();