fix: suppress all e-ink refreshes during boot with setAutoDisplay(false)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-03 11:31:36 -04:00
parent 90eed9d5ff
commit 4b9a7f2fa7
2 changed files with 16 additions and 3 deletions

View File

@@ -173,8 +173,12 @@ void webActionCallback(const String& action) {
void setup() {
auto cfg = M5.config();
cfg.clear_display = false; // Don't clear/refresh e-ink on init
M5.begin(cfg);
// Prevent any automatic e-ink refreshes until we explicitly call display()
M5.Display.setAutoDisplay(false);
Serial.begin(115200);
Serial.println("[main] Immich Frame v1.0 booting...");