Fix documentation for wakeup in demo usbcfg.c Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
User avatar
FXCoder
Posts: 384
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 180 times
Been thanked: 130 times

Fix documentation for wakeup in demo usbcfg.c  Topic is solved

Postby FXCoder » Mon Sep 10, 2018 2:40 am

Fix comment for wakeup event...

Code: Select all

Index: AVR/RT-TEENSY2-USB/usbcfg.c
===================================================================
--- AVR/RT-TEENSY2-USB/usbcfg.c   (revision 12246)
+++ AVR/RT-TEENSY2-USB/usbcfg.c   (working copy)
@@ -280,7 +280,7 @@
   case USB_EVENT_WAKEUP:
     chSysLockFromISR();
 
-    /* Disconnection event on suspend.*/
+    /* Connection event on wakeup.*/
     sduWakeupHookI(&SDU1);
 
     chSysUnlockFromISR();
Index: STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.c
===================================================================
--- STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.c   (revision 12246)
+++ STM32/RT-STM32-LWIP-FATFS-USB-HTTPS/usbcfg.c   (working copy)
@@ -299,7 +299,7 @@
   case USB_EVENT_WAKEUP:
     chSysLockFromISR();
 
-    /* Disconnection event on suspend.*/
+    /* Connection event on wakeup.*/
     sduWakeupHookI(&PORTAB_SDU1);
 
     chSysUnlockFromISR();
Index: STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.c
===================================================================
--- STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.c   (revision 12246)
+++ STM32/RT-STM32-LWIP-FATFS-USB/src/usbcfg.c   (working copy)
@@ -299,7 +299,7 @@
   case USB_EVENT_WAKEUP:
     chSysLockFromISR();
 
-    /* Disconnection event on suspend.*/
+    /* Connection event on wakep.*/
     sduWakeupHookI(&PORTAB_SDU1);
 
     chSysUnlockFromISR();
Index: STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c
===================================================================
--- STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c   (revision 12246)
+++ STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/usbcfg.c   (working copy)
@@ -298,7 +298,7 @@
   case USB_EVENT_WAKEUP:
     chSysLockFromISR();
 
-    /* Disconnection event on suspend.*/
+    /* Connection event on wakeup.*/
     sduWakeupHookI(&SDU1);
 
     chSysUnlockFromISR();
     
     

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Fix documentation for wakeup in demo usbcfg.c

Postby Giovanni » Wed Sep 19, 2018 2:07 pm

Fixed in trunk, there were dozens other instances.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 9 guests