mirror of
https://github.com/pelgraine/Meck.git
synced 2026-07-03 00:01:21 +02:00
Add an ESP32_CPU_FREQ build flag to lower freq
This commit is contained in:
@@ -726,6 +726,11 @@ void setup() {
|
||||
delay(1000);
|
||||
|
||||
board.begin();
|
||||
|
||||
#ifdef ESP32_CPU_FREQ
|
||||
setCpuFrequencyMhz(ESP32_CPU_FREQ);
|
||||
#endif
|
||||
|
||||
#ifdef ESP32
|
||||
fallback_clock.begin();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user