Add an ESP32_CPU_FREQ build flag to lower freq

This commit is contained in:
Florent
2025-03-09 15:49:35 +01:00
parent 676ba6d066
commit a706d90598
5 changed files with 19 additions and 0 deletions

View File

@@ -566,6 +566,11 @@ void setup() {
Serial.begin(115200);
board.begin();
#ifdef ESP32_CPU_FREQ
setCpuFrequencyMhz(ESP32_CPU_FREQ);
#endif
#ifdef SX126X_DIO3_TCXO_VOLTAGE
float tcxo = SX126X_DIO3_TCXO_VOLTAGE;
#else