From 951efe320c6a035b67c99deae380b351b2e0b9c0 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 20 Feb 2016 21:50:58 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8917 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32F4xx/RTC/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testhal/STM32/STM32F4xx/RTC/main.c') 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){ -- cgit v1.2.3