Explorar o código

Merge pull request #1978 from Lawlieta/develop

[drivers] Modify RTC_SYNC_USING_NTP depends on PKG_NETUTILS_NTP
Bernard Xiong %!s(int64=6) %!d(string=hai) anos
pai
achega
7134fd9ed0
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      components/drivers/Kconfig

+ 2 - 3
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