From ff7a9d10cb35790cb800bee28872ce40b65dee34 Mon Sep 17 00:00:00 2001 From: Mark Thompson <129641948+NotherNgineer@users.noreply.github.com> Date: Sun, 13 Aug 2023 13:33:31 -0500 Subject: [PATCH] Load App Settings *after* initializing RadioState (#1371) --- firmware/application/apps/ui_scanner.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/apps/ui_scanner.hpp b/firmware/application/apps/ui_scanner.hpp index 0cad2313..555f54d3 100644 --- a/firmware/application/apps/ui_scanner.hpp +++ b/firmware/application/apps/ui_scanner.hpp @@ -110,11 +110,11 @@ class ScannerView : public View { std::string title() const override { return "Scanner"; }; private: + RxRadioState radio_state_{}; app_settings::SettingsManager settings_{ "rx_scanner", app_settings::Mode::RX}; NavigationView& nav_; - RxRadioState radio_state_{}; void start_scan_thread(); void restart_scan();