Fix _initialized never set in Display::init()

Prevents double PSRAM allocation and LVGL driver re-registration
if init() were called more than once.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
torlando-tech
2026-03-04 14:39:49 -05:00
parent 2f61b80567
commit 2a1b98f8f1

View File

@@ -70,6 +70,7 @@ bool Display::init() {
return false;
}
_initialized = true;
INFO("Display initialized successfully");
return true;
}