From 20161fbf4fab9080a2d0d6ceedbf1344435cfda0 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 11:40:01 +0400 Subject: feat(ui): show live Control stats in the warbot card --- crates/fparkan-runtime/src/radar.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crates/fparkan-runtime/src/radar.rs') diff --git a/crates/fparkan-runtime/src/radar.rs b/crates/fparkan-runtime/src/radar.rs index 677c3348..46eb8576 100644 --- a/crates/fparkan-runtime/src/radar.rs +++ b/crates/fparkan-runtime/src/radar.rs @@ -254,7 +254,9 @@ struct Antenna { channels: [f64; 3], } -fn radar_device(table: &MissionControlDeviceTableState) -> Option<&EffectiveControlDevice> { +pub(super) fn radar_device( + table: &MissionControlDeviceTableState, +) -> Option<&EffectiveControlDevice> { let MissionControlDeviceTableStatus::Available(devices) = &table.status else { return None; }; -- cgit v1.2.3