[drivers] Modify RTC_SYNC_USING_NTP depends on PKG_NETUTILS_NTP

Signed-off-by: chenyong <1521761801@qq.com>
This commit is contained in:
chenyong 2018-11-14 18:26:53 +08:00
parent 420478a052
commit 739e8a8438
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