diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-20 21:50:58 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-20 21:50:58 +0000 |
commit | 951efe320c6a035b67c99deae380b351b2e0b9c0 (patch) | |
tree | 7069d41a6aa79e26ac5c12f1c261ee47be24b625 /testhal/STM32/STM32F4xx/RTC/main.c | |
parent | 41585364a77e8d8491c958525d1f0446fe2772e9 (diff) | |
download | ChibiOS-951efe320c6a035b67c99deae380b351b2e0b9c0.tar.gz ChibiOS-951efe320c6a035b67c99deae380b351b2e0b9c0.tar.bz2 ChibiOS-951efe320c6a035b67c99deae380b351b2e0b9c0.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8917 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F4xx/RTC/main.c')
-rw-r--r-- | testhal/STM32/STM32F4xx/RTC/main.c | 3 |
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){
|