diff options
| author | Valentin Popov <valentin@popov.link> | 2026-12-02 10:40:01 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-12-02 10:40:01 +0300 |
| commit | 20161fbf4fab9080a2d0d6ceedbf1344435cfda0 (patch) | |
| tree | 174be0827089abc4407af7289142d66d9f995ae7 /crates/fparkan-runtime/src/radar.rs | |
| parent | 5f0b8c076b40f8eca67e2745367c731f803914f4 (diff) | |
| download | fparkan-20161fbf4fab9080a2d0d6ceedbf1344435cfda0.tar.xz fparkan-20161fbf4fab9080a2d0d6ceedbf1344435cfda0.zip | |
feat(ui): show live Control stats in the warbot card
Diffstat (limited to 'crates/fparkan-runtime/src/radar.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/radar.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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; }; |
