From 4eab31cb82548a4c5bf2a57a1630d5c93076e1ab Mon Sep 17 00:00:00 2001 From: Song Ruo Jing Date: Fri, 30 Sep 2022 20:45:16 +0800 Subject: [PATCH] esp_hw_support: Fix typo on esp32s3 ets_update_cpu_frequency introduced in 23e37393a700dbc5bc6cb5562d2ffb6f785c4fd9 --- components/esp_hw_support/esp_clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_hw_support/esp_clk.c b/components/esp_hw_support/esp_clk.c index f15b269721..752a3e987e 100644 --- a/components/esp_hw_support/esp_clk.c +++ b/components/esp_hw_support/esp_clk.c @@ -79,7 +79,7 @@ int IRAM_ATTR esp_clk_xtal_freq(void) return rtc_clk_xtal_freq_get() * MHZ; } -#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESPS3 +#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3 void IRAM_ATTR ets_update_cpu_frequency(uint32_t ticks_per_us) { /* Update scale factors used by esp_rom_delay_us */