summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-11-14 19:13:59 +0800
committerGitHub <[email protected]>2018-11-14 19:13:59 +0800
commit7134fd9ed03b0fa5168b4ece074bbd8693ace814 (patch)
tree60437e3be447e01beb13a06be87de36f9552a73d
parentb7e2cd0eb3afee99601633964bb63f6db3e4cdf9 (diff)
parent739e8a8438542cac93dd14a26362e3c3dd031637 (diff)
Merge pull request #1978 from Lawlieta/develop
[drivers] Modify RTC_SYNC_USING_NTP depends on PKG_NETUTILS_NTP
-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