Merge pull request #1978 from Lawlieta/develop

[drivers] Modify RTC_SYNC_USING_NTP depends on PKG_NETUTILS_NTP
This commit is contained in:
Bernard Xiong 2018-11-14 19:13:59 +08:00 committed by GitHub
commit 7134fd9ed0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -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