summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorkk <[email protected]>2023-11-15 19:24:26 +0800
committerGitHub <[email protected]>2023-11-15 19:24:26 +0800
commit58cd8e026c76549e4546c693aa1ace853737ad09 (patch)
tree2ea35c6a845429cabf41a644e1ae78031f8496f1 /components
parentb80a455b3459f5b104906159d37c90b25c1e3cf2 (diff)
[drivers/rtc] 修复 alarm.c 少写分号 (#8256)
Diffstat (limited to 'components')
-rw-r--r--components/drivers/rtc/alarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/rtc/alarm.c b/components/drivers/rtc/alarm.c
index 62cb71ae7c..b78528a04c 100644
--- a/components/drivers/rtc/alarm.c
+++ b/components/drivers/rtc/alarm.c
@@ -59,7 +59,7 @@ static rt_err_t alarm_set(struct rt_alarm *alarm)
wkalarm.tm_hour = alarm->wktime.tm_hour;
wkalarm.tm_mday = alarm->wktime.tm_mday;
wkalarm.tm_mon = alarm->wktime.tm_mon;
- wkalarm.tm_year = alarm->wktime.tm_year
+ wkalarm.tm_year = alarm->wktime.tm_year;
ret = rt_device_control(device, RT_DEVICE_CTRL_RTC_SET_ALARM, &wkalarm);
if ((ret == RT_EOK) && wkalarm.enable)