From 215138abcf29dd99fa4916c442a4626d3550777a Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 27 Feb 2016 16:22:37 +0000 Subject: Enhanced .ld files. Mass update of shell demos. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8963 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB') diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c index 498c23319..ff087583f 100644 --- a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c +++ b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/main.c @@ -239,7 +239,7 @@ static void ShellHandler(eventid_t id) { (void)id; if (chThdTerminatedX(shelltp)) { - chThdFreeToHeap(shelltp); /* Returning memory to heap. */ + chThdRelease(shelltp); shelltp = NULL; } } -- cgit v1.2.3