esp8266_4MB_min - 160Mhz (instead of 80) ;-)

+ small things
This commit is contained in:
Ewoud
2023-01-17 17:54:14 +01:00
parent 8aebb94332
commit 6cd07c2216
3 changed files with 4 additions and 2 deletions

View File

@@ -1185,7 +1185,7 @@ class FourLineDisplayUsermod : public Usermod {
bool pinsChanged = false;
for (byte i=0; i<5; i++) if (ioPin[i] != oldPin[i]) { pinsChanged = true; break; }
if (pinsChanged || type!=newType) {
if (type != NONE) delete u8x8;
if (typeOK) delete u8x8;
PinOwner po = PinOwner::UM_FourLineDisplay;
bool isSPI = (type == SSD1306_SPI || type == SSD1306_SPI64);
if (isSPI) {