prevent reducing CPU speed when using TFT

This commit is contained in:
mverch67 2024-07-05 12:28:21 +02:00
parent 87b9e15b56
commit cce11b7955

View File

@ -57,7 +57,7 @@ RTC_DATA_ATTR int bootCount = 0;
*/
void setCPUFast(bool on)
{
#if defined(ARCH_ESP32) && HAS_WIFI
#if defined(ARCH_ESP32) && HAS_WIFI && !HAS_TFT
if (isWifiAvailable()) {
/*