aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-02 10:05:33 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-02 10:05:33 +0000
commitfbe16d0988d5948aeafc93509c819911a8755ee4 (patch)
tree42e92098e378bf50f9e78210901eaa04f0ae40cb /demos
parent42b31676df924a74c98c1d7780ebff3dd68d5086 (diff)
downloadChibiOS-fbe16d0988d5948aeafc93509c819911a8755ee4.tar.gz
ChibiOS-fbe16d0988d5948aeafc93509c819911a8755ee4.tar.bz2
ChibiOS-fbe16d0988d5948aeafc93509c819911a8755ee4.zip
Fixed bug #373.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6905 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/rt/RT-STM32F407-DISCOVERY-MEMS/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/demos/rt/RT-STM32F407-DISCOVERY-MEMS/main.c b/demos/rt/RT-STM32F407-DISCOVERY-MEMS/main.c
index 254b5ecbc..f3f6a0e86 100644
--- a/demos/rt/RT-STM32F407-DISCOVERY-MEMS/main.c
+++ b/demos/rt/RT-STM32F407-DISCOVERY-MEMS/main.c
@@ -223,7 +223,6 @@ static THD_FUNCTION(Thread1, 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;
/*
@@ -252,8 +251,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(1000);
usbStart(serusbcfg.usbp, &usbcfg);