diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-11-01 09:21:26 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-11-01 09:21:26 +0000 |
commit | b9192d716f3dff8467a46a241de41be218b2aa49 (patch) | |
tree | ffc4a672bb6620eb8756a08bfec403ded97c119c /testhal/STM32/STM32F4xx/USB_CDC/main.c | |
parent | 40b51d714f5b8897138705aecd1bd3ecd50d6e31 (diff) | |
download | ChibiOS-b9192d716f3dff8467a46a241de41be218b2aa49.tar.gz ChibiOS-b9192d716f3dff8467a46a241de41be218b2aa49.tar.bz2 ChibiOS-b9192d716f3dff8467a46a241de41be218b2aa49.zip |
Fixed bug #545.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7438 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F4xx/USB_CDC/main.c')
-rw-r--r-- | testhal/STM32/STM32F4xx/USB_CDC/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/testhal/STM32/STM32F4xx/USB_CDC/main.c b/testhal/STM32/STM32F4xx/USB_CDC/main.c index a8b57cd25..95ac3fc96 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC/main.c +++ b/testhal/STM32/STM32F4xx/USB_CDC/main.c @@ -457,7 +457,6 @@ static msg_t Thread1(void *arg) { * Application entry point.
*/
int main(void) {
- static THD_WORKING_AREA(wa_usb_lld_pump, STM32_USB_OTG_THREAD_STACK_SIZE);
thread_t *shelltp = NULL;
/*
@@ -481,8 +480,6 @@ int main(void) { * Note, a delay is inserted in order to not have to disconnect the cable
* after a reset.
*/
- chThdCreateStatic(wa_usb_lld_pump, sizeof(wa_usb_lld_pump),
- STM32_USB_OTG_THREAD_PRIO, usb_lld_pump, serusbcfg.usbp);
usbDisconnectBus(serusbcfg.usbp);
chThdSleepMilliseconds(1500);
usbStart(serusbcfg.usbp, &usbcfg);
|