mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-29 11:01:15 +00:00
stop old chip from crashing
This commit is contained in:
parent
e24a2116d8
commit
20497335c2
@ -65,8 +65,12 @@ void setCPUFast(bool on)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 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);
|
setCpuFrequencyMhz(on ? 240 : 80);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void setLed(bool ledOn)
|
void setLed(bool ledOn)
|
||||||
|
Loading…
Reference in New Issue
Block a user