From 2c934bb1fa9037c5088ad7001d417f3e1598ccbf Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 1 Sep 2015 13:10:09 +0000 Subject: OTG_FS working on F7. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8266 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32F4xx/USB_CDC/main.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'testhal/STM32/STM32F4xx/USB_CDC/main.c') 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 @@ -485,17 +485,6 @@ 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); - chThdSleepMilliseconds(1500); - usbStart(serusbcfg.usbp, &usbcfg); - usbConnectBus(serusbcfg.usbp); - /* * Shell manager initialization. */ -- cgit v1.2.3