Merge pull request #1596 from meshtastic/eink-speedup

Skip unneccessary EINK update
This commit is contained in:
Thomas Göttgens 2022-08-04 11:00:48 +02:00 committed by GitHub
commit e79ef0dd35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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