diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-09-26 21:07:44 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-09-26 21:07:44 +1000 |
| commit | 252f685ef1502016ed00be4eeaa4a217386fbce0 (patch) | |
| tree | 9b797795913c61c6b6c9f77e79e4a62419883f7b /src/ui/ui_fsm.cpp | |
| parent | 96252973d9b142632b7c54f825ce1de2127754bd (diff) | |
| download | tangara-fw-252f685ef1502016ed00be4eeaa4a217386fbce0.tar.gz | |
Make NVS access synchronous again
Everything relevant is back in internal ram, and likely to stay there.
Diffstat (limited to 'src/ui/ui_fsm.cpp')
| -rw-r--r-- | src/ui/ui_fsm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/ui_fsm.cpp b/src/ui/ui_fsm.cpp index 62fd46f1..fa4939f3 100644 --- a/src/ui/ui_fsm.cpp +++ b/src/ui/ui_fsm.cpp @@ -141,7 +141,7 @@ void Splash::react(const system_fsm::BootComplete& ev) { lv_disp_set_theme(NULL, base_theme); themes::Theme::instance()->Apply(); - sDisplay->SetBrightness(sServices->nvs().ScreenBrightness().get()); + sDisplay->SetBrightness(sServices->nvs().ScreenBrightness()); auto touchwheel = sServices->touchwheel(); if (touchwheel) { @@ -153,7 +153,7 @@ void Splash::react(const system_fsm::BootComplete& ev) { ESP_LOGE(kTag, "no input devices initialised!"); } - if (sServices->nvs().HasShownOnboarding().get()) { + if (sServices->nvs().HasShownOnboarding()) { transit<Browse>(); } else { transit<Onboarding>(); |
