fix: ensure backlight turns back on during startMcpScreensaver and invalidate canvas on drawText

This commit is contained in:
Adolfo Reyna
2026-06-27 09:41:40 -04:00
parent cd921e1aa9
commit 598af546fd
3 changed files with 66 additions and 4 deletions
@@ -57,6 +57,12 @@ public:
*/
void startScreensaver();
/**
* Force the MCP screensaver specifically, regardless of the current
* screensaver type setting. Safe to call from any thread (acquires LVGL lock).
*/
void startMcpScreensaver();
/**
* Force the screensaver to stop immediately and restore backlight.
* @note Not thread-safe. Call from LVGL/main context only, not from