diff options
Diffstat (limited to 'demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB')
-rw-r--r-- | demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c index 50f0d2cdf..c14a5dd5b 100644 --- a/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c +++ b/demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/main.c @@ -236,7 +236,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;
}
}
|