aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32')
-rw-r--r--demos/STM32/RT-STM32F429-DISCOVERY/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/demos/STM32/RT-STM32F429-DISCOVERY/main.c b/demos/STM32/RT-STM32F429-DISCOVERY/main.c
index 6db720300..43f5c1d05 100644
--- a/demos/STM32/RT-STM32F429-DISCOVERY/main.c
+++ b/demos/STM32/RT-STM32F429-DISCOVERY/main.c
@@ -136,7 +136,6 @@ static const ShellConfig shell_cfg1 = {
* Application entry point.
*/
int main(void) {
- static THD_WORKING_AREA(wa_usb_lld_pump, STM32_USB_OTG_THREAD_STACK_SIZE);
thread_t *shelltp = NULL;
/*
@@ -165,8 +164,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);