You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/01/18 16:51:13 UTC
[incubator-nuttx] branch master updated: rpmsg_rtc: fix typo
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 <li...@xiaomi.com>
AuthorDate: Tue Jan 18 23:41:05 2022 +0800
rpmsg_rtc: fix typo
Signed-off-by: ligd <li...@xiaomi.com>
---
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;