aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/RTC/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F4xx/RTC/main.c')
-rw-r--r--testhal/STM32/STM32F4xx/RTC/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F4xx/RTC/main.c b/testhal/STM32/STM32F4xx/RTC/main.c
index 3c029028a..c4507af54 100644
--- a/testhal/STM32/STM32F4xx/RTC/main.c
+++ b/testhal/STM32/STM32F4xx/RTC/main.c
@@ -278,7 +278,8 @@ int main(void){
/* Shell initialization.*/
sdStart(&SD6, &ser_cfg);
shellInit();
- shellCreateStatic(&shell_cfg1, waShell, sizeof(waShell), NORMALPRIO);
+ chThdCreateStatic(waShell, sizeof(waShell), NORMALPRIO,
+ shellThread, (void *)&shell_cfg1);
/* wait until user do not want to test wakeup */
while (true){