From db9e5cce1fff82149a609939709a94ae02f349a8 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Mon, 22 Apr 2024 16:00:53 +1000 Subject: Improve handling of the display - Blank the display when locking to prevent burn-in - Delay turning the display on until *exactly* after the first lvgl flush - Init the display in the ui task to avoid blocking the rest of boot --- src/ui/lvgl_task.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ui/lvgl_task.cpp') diff --git a/src/ui/lvgl_task.cpp b/src/ui/lvgl_task.cpp index 4cf25c15..51da0179 100644 --- a/src/ui/lvgl_task.cpp +++ b/src/ui/lvgl_task.cpp @@ -84,7 +84,6 @@ auto UiTask::Main() -> void { } auto UiTask::input(std::shared_ptr input) -> void { - assert(current_screen_); input_ = input; } -- cgit v1.2.3