summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcomponents/drivers/Kconfig5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index 824b3e00da..f3b814fa08 100755
--- a/components/drivers/Kconfig
+++ b/components/drivers/Kconfig
@@ -118,9 +118,8 @@ config RT_USING_RTC
default n
config RTC_SYNC_USING_NTP
bool "Using NTP auto sync RTC time"
- select PKG_USING_NETUTILS
- select PKG_NETUTILS_NTP
- default n
+ depends on PKG_NETUTILS_NTP
+ default y
if RTC_SYNC_USING_NTP
config RTC_NTP_FIRST_SYNC_DELAY