aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F7xx/USB_CDC
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-02-24 14:44:50 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-02-24 14:44:50 +0000
commit6d6284c9e6d1e3d1f0083c153ee21235771e1014 (patch)
tree32ab7da6461deb5264075e4221fb1f2aa6e666a0 /testhal/STM32/STM32F7xx/USB_CDC
parenta2072b5560adf07640b43107e00582b31658540d (diff)
downloadChibiOS-6d6284c9e6d1e3d1f0083c153ee21235771e1014.tar.gz
ChibiOS-6d6284c9e6d1e3d1f0083c153ee21235771e1014.tar.bz2
ChibiOS-6d6284c9e6d1e3d1f0083c153ee21235771e1014.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8941 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F7xx/USB_CDC')
-rw-r--r--testhal/STM32/STM32F7xx/USB_CDC/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F7xx/USB_CDC/main.c b/testhal/STM32/STM32F7xx/USB_CDC/main.c
index 940bde5a1..244385b11 100644
--- a/testhal/STM32/STM32F7xx/USB_CDC/main.c
+++ b/testhal/STM32/STM32F7xx/USB_CDC/main.c
@@ -160,8 +160,7 @@ int main(void) {
thread_t *shelltp = chThdCreateFromHeap(NULL, SHELL_WA_SIZE,
"shell", NORMALPRIO + 1,
shellThread, (void *)&shell_cfg1);
- chThdWait(shelltp); /* Waiting termination. */
- chThdFreeToHeap(shelltp); /* Returning memory to heap. */
+ chThdWait(shelltp);
}
#if 0
if (palReadPad(GPIOI, GPIOI_BUTTON_USER)) {