提交 43e9aec8 编写于 作者: mysterywolf's avatar mysterywolf

将rt_soft_rtc_init设为私有函数

上级 f982d813
......@@ -76,5 +76,3 @@ msh />
在 menuconfig 中启用 `RT_USING_SOFT_RTC` 配置。
> 注意:如果没有使用组件自动初始化功能,则需手动调用 `int rt_soft_rtc_init(void)` ,完成该功能初始化。
......@@ -104,7 +104,7 @@ const static struct rt_device_ops soft_rtc_ops =
};
#endif
int rt_soft_rtc_init(void)
static int rt_soft_rtc_init(void)
{
static rt_bool_t init_ok = RT_FALSE;
struct tm time_new = SOFT_RTC_TIME_DEFAULT;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册