fix: suppress all e-ink refreshes during boot with setAutoDisplay(false)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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...");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user