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: 116
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 30 times
Been thanked: 30 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: 11152
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 391 times
Been thanked: 322 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 1 guest