From 67f7efe0b14680c80d08546c7e3515e905fee134 Mon Sep 17 00:00:00 2001 From: ligd Date: Tue, 18 Jan 2022 23:41:05 +0800 Subject: [PATCH] rpmsg_rtc: fix typo Signed-off-by: ligd --- drivers/timers/rpmsg_rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/timers/rpmsg_rtc.c b/drivers/timers/rpmsg_rtc.c index b27c3b664b..5cbc94f7b6 100644 --- a/drivers/timers/rpmsg_rtc.c +++ b/drivers/timers/rpmsg_rtc.c @@ -414,7 +414,7 @@ static int rpmsg_rtc_setrelative(FAR struct rtc_lowerhalf_s *lower, FAR const struct lower_setrelative_s *relinfo) { - struct lower_setalarm_s alarminfo = + struct lower_setalarm_s alarminfo; time_t time; alarminfo.id = relinfo->id;