aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-09-19 13:08:36 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-09-19 13:08:36 +0000
commit7c9ad610a6068f7ee292f8259cdcd7488391a60a (patch)
tree1b4628a39e56c370778db2ac571a43707f6eb4f3 /testhal
parent1f9c410180172e13e172a8e742b3421647648b51 (diff)
downloadChibiOS-7c9ad610a6068f7ee292f8259cdcd7488391a60a.tar.gz
ChibiOS-7c9ad610a6068f7ee292f8259cdcd7488391a60a.tar.bz2
ChibiOS-7c9ad610a6068f7ee292f8259cdcd7488391a60a.zip
Fixed a wrong comment in usbcfg.c files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12278 110e8d01-0319-4d1e-a829-52ad28d1bb01
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();