From c64bdaf6190868f95f463015f28541b4ebf230ef Mon Sep 17 00:00:00 2001 From: barthess Date: Mon, 14 May 2012 17:40:44 +0000 Subject: RTC. Fixed bug 3526084 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4196 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32F4xx/RTC/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testhal/STM32F4xx') diff --git a/testhal/STM32F4xx/RTC/main.c b/testhal/STM32F4xx/RTC/main.c index ce3e7f13f..c3d54850c 100644 --- a/testhal/STM32F4xx/RTC/main.c +++ b/testhal/STM32F4xx/RTC/main.c @@ -87,7 +87,7 @@ static void func_sleep(void){ __WFI(); } -static void cmd_sleep(BaseChannel *chp, int argc, char *argv[]){ +static void cmd_sleep(BaseSequentialStream *chp, int argc, char *argv[]){ (void)argv; if (argc > 0) { chprintf(chp, "Usage: sleep\r\n"); @@ -104,7 +104,7 @@ static void cmd_sleep(BaseChannel *chp, int argc, char *argv[]){ /* * */ -static void cmd_alarm(BaseChannel *chp, int argc, char *argv[]){ +static void cmd_alarm(BaseSequentialStream *chp, int argc, char *argv[]){ int i = 0; (void)argv; @@ -138,7 +138,7 @@ ERROR: /* * */ -static void cmd_date(BaseChannel *chp, int argc, char *argv[]){ +static void cmd_date(BaseSequentialStream *chp, int argc, char *argv[]){ (void)argv; struct tm timp; @@ -198,7 +198,7 @@ static const ShellCommand commands[] = { }; static const ShellConfig shell_cfg1 = { - (BaseChannel *)&SD2, + (BaseSequentialStream *)&SD2, commands }; -- cgit v1.2.3