stop old chip from crashing
This commit is contained in:
co-authored by
GitHub
parent
e24a2116d8
commit
20497335c2
+5
-1
@@ -65,7 +65,11 @@ void setCPUFast(bool on)
|
||||
return;
|
||||
}
|
||||
|
||||
setCpuFrequencyMhz(on ? 240 : 80);
|
||||
// The Heltec LORA32 V1 runs at 26 MHz base frequency and doesn't react well to switching to 80 MHz...
|
||||
#ifndef ARDUINO_HELTEC_WIFI_LORA_32
|
||||
setCpuFrequencyMhz(on ? 240 : 80);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user