From 6711ff45ea5499e2c30dd7b4216b827f263a1f95 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 13 Jun 2014 12:08:53 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6987 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32F4xx/RTC/main.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (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 6b25d371a..5d70ca65d 100644 --- a/testhal/STM32/STM32F4xx/RTC/main.c +++ b/testhal/STM32/STM32F4xx/RTC/main.c @@ -14,6 +14,10 @@ limitations under the License. */ +#include "ch.h" +#include "hal.h" + +#if 0 /* This structure is used to hold the values representing a calendar time. It contains the following members, with the meanings as shown. @@ -197,7 +201,7 @@ static const ShellConfig shell_cfg1 = { (BaseSequentialStream *)&SD2, commands }; - +#endif /** * Main function. @@ -206,8 +210,9 @@ int main(void){ halInit(); chSysInit(); - chThdCreateStatic(blinkWA, sizeof(blinkWA), NORMALPRIO, blink_thd, NULL); +// chThdCreateStatic(blinkWA, sizeof(blinkWA), NORMALPRIO, blink_thd, NULL); +#if 0 #if !WAKEUP_TEST /* switch off wakeup */ rtcSetPeriodicWakeup_v2(&RTCD1, NULL); @@ -232,6 +237,7 @@ int main(void){ chThdSleepSeconds(3); func_sleep(); #endif /* !WAKEUP_TEST */ +#endif return 0; } -- cgit v1.2.3