[RTC alarm]alarm功能优化,SOFT_RTC增加alarm功能

This commit is contained in:
张世争
2020-12-03 17:52:03 +08:00
parent a472656ee0
commit 9609bc032a
3 changed files with 137 additions and 22 deletions
@@ -49,6 +49,8 @@ struct rt_alarm
rt_uint32_t flag;
rt_alarm_callback_t callback;
struct tm wktime;
void *user_data;
};
struct rt_alarm_setup