From 1e4552533d4382c1534f047201d42560068420f0 Mon Sep 17 00:00:00 2001 From: KonstantinKondrashov Date: Wed, 28 Oct 2020 15:58:28 +0800 Subject: [PATCH] esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option Closes: https://github.com/espressif/esp-idf/issues/6037 --- components/esp32/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp32/Kconfig b/components/esp32/Kconfig index 5ad4f26a99ba..5f12068d9b23 100644 --- a/components/esp32/Kconfig +++ b/components/esp32/Kconfig @@ -914,7 +914,7 @@ menu "ESP32-specific" config ESP32_RTC_CLK_CAL_CYCLES int "Number of cycles for RTC_SLOW_CLK calibration" - default 3000 if ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL + default 3000 if ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL || ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC || ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256 # NOERROR default 1024 if ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC range 0 27000 if ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL || ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC || ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256 # NOERROR range 0 32766 if ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC