There was an error while loading. Please reload this page.
1 parent d10ed8e commit f48cb4bCopy full SHA for f48cb4b
cores/esp32/esp32-hal.h
@@ -42,11 +42,7 @@ extern "C" {
42
#endif
43
44
#ifndef F_CPU
45
-#if CONFIG_IDF_TARGET_ESP32 // ESP32/PICO-D4
46
-#define F_CPU (CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ * 1000000U)
47
-#elif CONFIG_IDF_TARGET_ESP32S2
48
-#define F_CPU (CONFIG_ESP32S2_DEFAULT_CPU_FREQ_MHZ * 1000000U)
49
-#endif
+#define F_CPU (CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ * 1000000U)
50
51
52
#if CONFIG_ARDUINO_ISR_IRAM
0 commit comments