diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-04-22 16:00:53 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-04-22 16:00:53 +1000 |
| commit | db9e5cce1fff82149a609939709a94ae02f349a8 (patch) | |
| tree | 5dd6f5a636eb2e87bca84d7ceabbf09c893f23e1 /src/ui/lvgl_task.cpp | |
| parent | 5b99267cb9f0344e519956096867aea5468ecf9f (diff) | |
| download | tangara-fw-db9e5cce1fff82149a609939709a94ae02f349a8.tar.gz | |
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
Diffstat (limited to 'src/ui/lvgl_task.cpp')
| -rw-r--r-- | src/ui/lvgl_task.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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::LvglInputDriver> input) -> void { - assert(current_screen_); input_ = input; } |
