diff options
Diffstat (limited to 'testhal/STM32/STM32F1xx')
-rw-r--r-- | testhal/STM32/STM32F1xx/USB_CDC/usbcfg.c | 2 | ||||
-rwxr-xr-x | testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F1xx/USB_CDC/usbcfg.c b/testhal/STM32/STM32F1xx/USB_CDC/usbcfg.c index b56c7d248..f3e69c237 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC/usbcfg.c +++ b/testhal/STM32/STM32F1xx/USB_CDC/usbcfg.c @@ -298,7 +298,7 @@ static void usb_event(USBDriver *usbp, usbevent_t event) { case USB_EVENT_WAKEUP:
chSysLockFromISR();
- /* Disconnection event on suspend.*/
+ /* Connection event on wakeup.*/
sduWakeupHookI(&SDU1);
chSysUnlockFromISR();
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.c b/testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.c index b56c7d248..f3e69c237 100755 --- a/testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.c +++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.c @@ -298,7 +298,7 @@ static void usb_event(USBDriver *usbp, usbevent_t event) { case USB_EVENT_WAKEUP:
chSysLockFromISR();
- /* Disconnection event on suspend.*/
+ /* Connection event on wakeup.*/
sduWakeupHookI(&SDU1);
chSysUnlockFromISR();
|