POkus se zapoznamkovanim yield kvuli asyncwebserveru a pouziti OLED v callbacku. (NUTNO OTESTOVAT)

This commit is contained in:
Pavel Brychta 2021-09-22 09:34:44 +02:00
parent 2f040fc77f
commit 451bc44621

View File

@ -120,7 +120,7 @@ class SSD1306Wire : public OLEDDisplay {
} }
buffer_back[pos] = buffer[pos]; buffer_back[pos] = buffer[pos];
} }
yield(); // yield();
} }
// If the minBoundY wasn't updated // If the minBoundY wasn't updated
@ -152,7 +152,7 @@ class SSD1306Wire : public OLEDDisplay {
k = 0; k = 0;
} }
} }
yield(); // yield();
} }
if (k != 0) { if (k != 0) {