From 739e8a8438542cac93dd14a26362e3c3dd031637 Mon Sep 17 00:00:00 2001 From: chenyong <1521761801@qq.com> Date: Wed, 14 Nov 2018 18:26:53 +0800 Subject: [PATCH] [drivers] Modify RTC_SYNC_USING_NTP depends on PKG_NETUTILS_NTP Signed-off-by: chenyong <1521761801@qq.com> --- components/drivers/Kconfig | 5 ++--- 1 file 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