committed by
GitHub
parent
9c5a427a34
commit
e9384e0c11
@@ -29,6 +29,7 @@ class DevelopmentApp final : public App {
|
||||
|
||||
Timer timer = Timer(Timer::Type::Periodic, [this] {
|
||||
auto lock = lvgl::getSyncLock()->asScopedLock();
|
||||
// TODO: There's a crash when this is called when the app is being destroyed
|
||||
if (lock.lock(lvgl::defaultLockTime) && lvgl::isStarted()) {
|
||||
updateViewState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user