提交 47f38973 编写于 作者: armink_ztl's avatar armink_ztl

[DeviceDriver] Add clock() to rtc.c .

上级 ce6b0a6e
......@@ -85,6 +85,11 @@ time_t time(time_t *t)
return time_now;
}
RT_WEAK clock_t clock(void)
{
return rt_tick_get();
}
/**
* Set system date(time not modify).
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册