[drivers/rtc] 修复 alarm.c 少写分号 (#8256)
This commit is contained in:
parent
b80a455b34
commit
58cd8e026c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue