aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.c2
-rw-r--r--demos/AVR/RT-PRO-MICRO/usbcfg.c2
-rw-r--r--demos/AVR/RT-TEENSY2-USB/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.c2
-rw-r--r--demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.c2
-rw-r--r--testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.c2
-rw-r--r--testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.c2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.c2
-rw-r--r--testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.c2
-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
23 files changed, 23 insertions, 23 deletions
diff --git a/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.c b/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.c
index ac8667f3e..a54e457a0 100644
--- a/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.c
+++ b/demos/AVR/RT-ARDUINO-LEONARDO/usbcfg.c
@@ -315,7 +315,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/demos/AVR/RT-PRO-MICRO/usbcfg.c b/demos/AVR/RT-PRO-MICRO/usbcfg.c
index fce1b00c6..5f81d0281 100644
--- a/demos/AVR/RT-PRO-MICRO/usbcfg.c
+++ b/demos/AVR/RT-PRO-MICRO/usbcfg.c
@@ -314,7 +314,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/demos/AVR/RT-TEENSY2-USB/usbcfg.c b/demos/AVR/RT-TEENSY2-USB/usbcfg.c
index 979161ae5..03129adc1 100644
--- a/demos/AVR/RT-TEENSY2-USB/usbcfg.c
+++ b/demos/AVR/RT-TEENSY2-USB/usbcfg.c
@@ -280,7 +280,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/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.c b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.c
index 1404b372f..ab6cf54fa 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.c
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/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();
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.c b/demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.c
index 1404b372f..ab6cf54fa 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.c
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/src/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();
diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c b/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c
index b56c7d248..f3e69c237 100644
--- a/demos/STM32/RT-STM32F103-MAPLEMINI/usbcfg.c
+++ b/demos/STM32/RT-STM32F103-MAPLEMINI/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/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c
index b56c7d248..f3e69c237 100644
--- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c
+++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/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/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.c b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.c
index b56c7d248..f3e69c237 100644
--- a/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/usbcfg.c
+++ b/demos/STM32/RT-STM32F103_INEMO_DISCOVERY/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/demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.c b/demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.c
index 906bf880b..e35ff0925 100644
--- a/demos/STM32/RT-STM32F429-DISCOVERY/usbcfg.c
+++ b/demos/STM32/RT-STM32F429-DISCOVERY/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/demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.c b/demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.c
index b56c7d248..f3e69c237 100644
--- a/demos/STM32/RT-STM32L053-DISCOVERY/usbcfg.c
+++ b/demos/STM32/RT-STM32L053-DISCOVERY/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/testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.c b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.c
index b56c7d248..f3e69c237 100644
--- a/testex/STM32/STM32F4xx/I2C-LSM303DLHC/usbcfg.c
+++ b/testex/STM32/STM32F4xx/I2C-LSM303DLHC/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/testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.c b/testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.c
index b56c7d248..f3e69c237 100644
--- a/testex/STM32/STM32F4xx/SPI-L3GD20/usbcfg.c
+++ b/testex/STM32/STM32F4xx/SPI-L3GD20/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/testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.c b/testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.c
index b56c7d248..f3e69c237 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS302DL/usbcfg.c
+++ b/testex/STM32/STM32F4xx/SPI-LIS302DL/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/testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.c b/testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.c
index b56c7d248..f3e69c237 100644
--- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/usbcfg.c
+++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/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/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();