POkus se zapoznamkovanim yield kvuli asyncwebserveru a pouziti OLED v callbacku. (NUTNO OTESTOVAT)
This commit is contained in:
parent
2f040fc77f
commit
451bc44621
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user