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

[DeviceDriver][RTC] Fix rtc Kconfig and missing return.

上级 c6e928a7
...@@ -90,6 +90,7 @@ config RT_USING_RTC ...@@ -90,6 +90,7 @@ config RT_USING_RTC
default n default n
config RTC_SYNC_USING_NTP config RTC_SYNC_USING_NTP
bool "Using NTP auto sync RTC time" bool "Using NTP auto sync RTC time"
select PKG_USING_NETUTILS
select PKG_NETUTILS_NTP select PKG_NETUTILS_NTP
default n default n
......
...@@ -225,6 +225,8 @@ int rt_rtc_ntp_sync_init(void) ...@@ -225,6 +225,8 @@ int rt_rtc_ntp_sync_init(void)
} }
init_ok = RT_TRUE; init_ok = RT_TRUE;
return RT_EOK;
} }
INIT_COMPONENT_EXPORT(rt_rtc_ntp_sync_init); INIT_COMPONENT_EXPORT(rt_rtc_ntp_sync_init);
#endif /* RTC_SYNC_USING_NTP */ #endif /* RTC_SYNC_USING_NTP */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册