aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/usbcfg.c2
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC/usbcfg.c2
-rwxr-xr-xtesthal/STM32/STM32F1xx/USB_CDC_F107/usbcfg.c2
-rw-r--r--testhal/STM32/STM32F2xx/USB_CDC/usbcfg.c2
-rw-r--r--testhal/STM32/STM32F37x/USB_CDC/usbcfg.c2
-rw-r--r--testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.c2
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.c2
-rw-r--r--testhal/STM32/STM32L0xx/USB_CDC/usbcfg.c2
-rw-r--r--testhal/STM32/multi/USB_CDC/source/usbcfg.c2
9 files changed, 9 insertions, 9 deletions
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/usbcfg.c b/testhal/STM32/STM32F0xx/USB_CDC/usbcfg.c
index ad4d01899..4c5809ad9 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/usbcfg.c
+++ b/testhal/STM32/STM32F0xx/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/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();
diff --git a/testhal/STM32/STM32F2xx/USB_CDC/usbcfg.c b/testhal/STM32/STM32F2xx/USB_CDC/usbcfg.c
index b56c7d248..f3e69c237 100644
--- a/testhal/STM32/STM32F2xx/USB_CDC/usbcfg.c
+++ b/testhal/STM32/STM32F2xx/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/STM32F37x/USB_CDC/usbcfg.c b/testhal/STM32/STM32F37x/USB_CDC/usbcfg.c
index b56c7d248..f3e69c237 100644
--- a/testhal/STM32/STM32F37x/USB_CDC/usbcfg.c
+++ b/testhal/STM32/STM32F37x/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/STM32F3xx/USB_CDC_IAD/usbcfg.c b/testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.c
index a357ae513..a3987fef7 100644
--- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.c
+++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/usbcfg.c
@@ -413,7 +413,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);
sduWakeupHookI(&SDU2);
diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.c b/testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.c
index 1a5d0c4fb..682c65679 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.c
+++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/usbcfg.c
@@ -413,7 +413,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);
sduWakeupHookI(&SDU2);
diff --git a/testhal/STM32/STM32L0xx/USB_CDC/usbcfg.c b/testhal/STM32/STM32L0xx/USB_CDC/usbcfg.c
index ad4d01899..4c5809ad9 100644
--- a/testhal/STM32/STM32L0xx/USB_CDC/usbcfg.c
+++ b/testhal/STM32/STM32L0xx/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/multi/USB_CDC/source/usbcfg.c b/testhal/STM32/multi/USB_CDC/source/usbcfg.c
index 1404b372f..ab6cf54fa 100644
--- a/testhal/STM32/multi/USB_CDC/source/usbcfg.c
+++ b/testhal/STM32/multi/USB_CDC/source/usbcfg.c
@@ -299,7 +299,7 @@ static void usb_event(USBDriver *usbp, usbevent_t event) {
case USB_EVENT_WAKEUP:
chSysLockFromISR();
- /* Disconnection event on suspend.*/
+ /* Connection event on wakeup.*/
sduWakeupHookI(&PORTAB_SDU1);
chSysUnlockFromISR();