Skip unneccessary EINK update

raytac-diy
Thomas Göttgens 2022-08-04 10:35:40 +02:00
rodzic 720cd62943
commit 9bc2b4d8d7
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -935,9 +935,11 @@ void Screen::setup()
handleSetOn(true);
// On some ssd1306 clones, the first draw command is discarded, so draw it
// twice initially.
// twice initially. Skip this for EINK Displays to save a few seconds during boot
ui.update();
#ifndef USE_EINK
ui.update();
#endif
serialSinceMsec = millis();
// Subscribe to status updates