Add an ESP32_CPU_FREQ build flag to lower freq

This commit is contained in:
Florent committed 2025-03-09 15:49:35 +01:00
1 parent 676ba6d066
commit a706d90598
5 files changed
+19

No files matched your search

+4
View File
@@ -664,6 +664,10 @@ void setup() {
delay(1000);
board.begin();
#ifdef ESP32_CPU_FREQ
setCpuFrequencyMhz(ESP32_CPU_FREQ);
#endif
#ifdef ESP32
fallback_clock.begin();
#endif