mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 19:45:09 +00:00
fix(dmr): avoid stale and mislabeled talkgroups
This commit is contained in:
+3
-3
@@ -1382,7 +1382,7 @@ var
|
||||
I, Slot: Integer;
|
||||
O: TVfoOverlay;
|
||||
S: TDMRStatus;
|
||||
Txt: string;
|
||||
Txt, TargetText: string;
|
||||
begin
|
||||
if FController = nil then Exit;
|
||||
for I := 0 to High(FSliceFlags) do
|
||||
@@ -1401,8 +1401,8 @@ begin
|
||||
else if S.CACHValid then Slot := S.Slot;
|
||||
if Slot in [0, 1] then Txt := 'DMR TS' + IntToStr(Slot + 1);
|
||||
if S.SlotTypeValid then Txt := Txt + ' CC' + IntToStr(S.ColorCode);
|
||||
if S.LinkControlValid and (S.TargetID <> 0) then
|
||||
Txt := Txt + ' TG' + IntToStr(S.TargetID);
|
||||
TargetText := TDMRDecoder.LinkControlTargetText(S);
|
||||
if TargetText <> '' then Txt := Txt + ' ' + TargetText;
|
||||
O.UpdateDMRStatus(Txt, True);
|
||||
end;
|
||||
end;
|
||||
|
||||
Reference in New Issue
Block a user