mirror of
https://github.com/vicliu624/trail-mate.git
synced 2026-08-14 06:39:45 +00:00
Stabilize GAT562 BLE config flow
This commit is contained in:
@@ -113,7 +113,10 @@ StatusSnapshot collect_status()
|
||||
snap.route_active = cfg.route_enabled && (cfg.route_path[0] != '\0');
|
||||
snap.track_recording = platform::ui::tracker::is_recording();
|
||||
snap.gps_enabled = platform::ui::gps::is_enabled();
|
||||
snap.ble_enabled = app::runtimeFacade().isBleEnabled();
|
||||
if (auto* ble = app::runtimeFacade().getBleManager())
|
||||
{
|
||||
snap.ble_enabled = ble->isEnabled();
|
||||
}
|
||||
|
||||
refresh_team_cache();
|
||||
snap.team_active = s_team_cache.team_active;
|
||||
|
||||
Reference in New Issue
Block a user