git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5635 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2013-04-27 10:17:38 +00:00
parent 4434fed8d8
commit 77bd97a9db
2 changed files with 5 additions and 0 deletions

View File

@ -89,6 +89,7 @@
*****************************************************************************
*** 2.5.2 ***
- FIX: Fixed USB driver cannot be stopped (bug #405)(backported to 2.4.4).
- FIX: Fixed several spelling errors (bug #404).
- FIX: Fixed serial port in STM32F3 discovery test case (bug #402).
- FIX: Fixed add %i to chprintf (bug #401).

View File

@ -476,6 +476,10 @@ int main(void) {
usbStart(serusbcfg.usbp, &usbcfg);
usbConnectBus(serusbcfg.usbp);
/*
* Stopping and restarting the USB in order to test the stop procedure. The
* following lines are not usually required.
*/
chThdSleepMilliseconds(3000);
usbDisconnectBus(serusbcfg.usbp);
usbStop(serusbcfg.usbp);