aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-09-01 13:10:09 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-09-01 13:10:09 +0000
commit2c934bb1fa9037c5088ad7001d417f3e1598ccbf (patch)
treeae990a3be34c76b5ea5478b2110cf835874a0aa4 /testhal/STM32
parent7f8853b700e2a76a9965f6a5736b43314b71bc19 (diff)
downloadChibiOS-2c934bb1fa9037c5088ad7001d417f3e1598ccbf.tar.gz
ChibiOS-2c934bb1fa9037c5088ad7001d417f3e1598ccbf.tar.bz2
ChibiOS-2c934bb1fa9037c5088ad7001d417f3e1598ccbf.zip
OTG_FS working on F7.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8266 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32')
-rw-r--r--testhal/STM32/STM32F4xx/USB_CDC/main.c11
-rw-r--r--testhal/STM32/STM32F7xx/USB_CDC/main.c11
2 files changed, 0 insertions, 22 deletions
diff --git a/testhal/STM32/STM32F4xx/USB_CDC/main.c b/testhal/STM32/STM32F4xx/USB_CDC/main.c
index fcd346160..a7b70c23e 100644
--- a/testhal/STM32/STM32F4xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F4xx/USB_CDC/main.c
@@ -486,17 +486,6 @@ int main(void) {
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);
- chThdSleepMilliseconds(1500);
- usbStart(serusbcfg.usbp, &usbcfg);
- usbConnectBus(serusbcfg.usbp);
-
- /*
* Shell manager initialization.
*/
shellInit();
diff --git a/testhal/STM32/STM32F7xx/USB_CDC/main.c b/testhal/STM32/STM32F7xx/USB_CDC/main.c
index f5395ebca..b4e41c396 100644
--- a/testhal/STM32/STM32F7xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F7xx/USB_CDC/main.c
@@ -193,17 +193,6 @@ int main(void) {
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);
- chThdSleepMilliseconds(1500);
- usbStart(serusbcfg.usbp, &usbcfg);
- usbConnectBus(serusbcfg.usbp);
-
- /*
* Shell manager initialization.
*/
shellInit();