From 41585364a77e8d8491c958525d1f0446fe2772e9 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 20 Feb 2016 18:53:30 +0000 Subject: Updated CDC demos under testhal with new shell. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8916 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/OTGv1/usb_lld.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'os/hal/ports/STM32/LLD') diff --git a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.c b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.c index ffdaaf3ca..88be41d73 100644 --- a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.c +++ b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.c @@ -690,10 +690,7 @@ void usb_lld_init(void) { { void *wsp = USBD1.wa_pump; _thread_memfill((uint8_t *)wsp, - (uint8_t *)wsp + sizeof(thread_t), - CH_DBG_THREAD_FILL_VALUE); - _thread_memfill((uint8_t *)wsp + sizeof(thread_t), - (uint8_t *)wsp + sizeof(USBD1.wa_pump), + (uint8_t *)wsp + sizeof (USBD1.wa_pump), CH_DBG_STACK_FILL_VALUE); } #endif /* CH_DBG_FILL_THREADS */ -- cgit v1.2.3