Skip to content

Commit 9594e60

Browse files
committed
Revert getCpuFreqMHz(), because of missing IDF support.
1 parent 4b48356 commit 9594e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/Esp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class EspClass
5858
void restart();
5959
uint32_t getFreeHeap();
6060
uint8_t getChipRevision();
61-
uint32_t getCpuFreqMHz() { return getCpuFrequencyMhz(); }
61+
uint32_t getCpuFreqMHz() { return CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ; }
6262
uint32_t getCycleCount();
6363
const char * getSdkVersion();
6464

0 commit comments

Comments
 (0)