| 264 | } |
| 265 | |
| 266 | static void rtc_sync_work_func(struct rt_work *work, void *work_data) |
| 267 | { |
| 268 | rt_soft_rtc_sync(); |
| 269 | rt_work_submit(work, rt_tick_from_millisecond(RTC_AUTO_SYNC_PERIOD * 1000)); |
| 270 | } |
| 271 | |
| 272 | rt_err_t rt_soft_rtc_set_source(const char *name) |
| 273 | { |
nothing calls this directly
no test coverage detected