MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rtc_sync_work_func

Function rtc_sync_work_func

components/drivers/rtc/dev_soft_rtc.c:266–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266static 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
272rt_err_t rt_soft_rtc_set_source(const char *name)
273{

Callers

nothing calls this directly

Calls 3

rt_soft_rtc_syncFunction · 0.85
rt_work_submitFunction · 0.85
rt_tick_from_millisecondFunction · 0.85

Tested by

no test coverage detected