This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 67f7efe rpmsg_rtc: fix typo
67f7efe is described below
commit 67f7efe0b14680c80d08546c7e3515e905fee134
Author: ligd <[email protected]>
AuthorDate: Tue Jan 18 23:41:05 2022 +0800
rpmsg_rtc: fix typo
Signed-off-by: ligd <[email protected]>
---
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 b27c3b6..5cbc94f 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;