aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-02-27 16:22:37 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-02-27 16:22:37 +0000
commit215138abcf29dd99fa4916c442a4626d3550777a (patch)
tree0b17a28f0426eec0c7c101840616247977cf28bd /demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB
parent04429bc93f8c06ffd6dd43b9048c2743c237f0a7 (diff)
downloadChibiOS-215138abcf29dd99fa4916c442a4626d3550777a.tar.gz
ChibiOS-215138abcf29dd99fa4916c442a4626d3550777a.tar.bz2
ChibiOS-215138abcf29dd99fa4916c442a4626d3550777a.zip
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
Diffstat (limited to 'demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB')
-rw-r--r--demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/main.c b/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/main.c
index 384cdb4b3..db8f9a9d6 100644
--- a/demos/STM32/RT-STM32F407-OLIMEX_E407-LWIP-FATFS-USB/main.c
+++ b/demos/STM32/RT-STM32F407-OLIMEX_E407-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. */
+ chThdWait(shelltp); /* Returning memory to heap. */
shelltp = NULL;
}
}