eink display improvements

This commit is contained in:
Kevin Hester
2020-10-16 10:53:55 +08:00
parent 9134faaed1
commit b0837c10c6
5 changed files with 51 additions and 18 deletions

View File

@@ -102,8 +102,7 @@ void EInkDisplay::display(void)
// at least one forceDisplay() keyframe. This prevents flashing when we should the critical
// bootscreen (that we want to look nice)
if (lastDrawMsec)
if (forceDisplay(slowUpdateMsec)) // Show the first screen a few seconds after boot, then slower
slowUpdateMsec = 5 * 60 * 1000;
forceDisplay(slowUpdateMsec); // Show the first screen a few seconds after boot, then slower
}
// Send a command to the display (low level function)