mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 19:45:09 +00:00
chore(dmr): remove diagnostic capture probes
This commit is contained in:
+2
-16
@@ -3605,8 +3605,7 @@ var
|
||||
begin
|
||||
if not FController.GetDMRStatus(S) then Exit('DMR unavailable');
|
||||
if not S.Enabled then Exit('DMR off');
|
||||
if not S.Synced then
|
||||
Exit(Format('DMR sync d%d %.3f', [S.BestSyncDistance, S.SignalRMS]));
|
||||
if not S.Synced then Exit(Format('DMR sync... %.3f', [S.SignalRMS]));
|
||||
if S.Inverted then Inv := ' INV' else Inv := '';
|
||||
Details := '';
|
||||
if S.LinkControlValid then Details := Format(' TS%d', [S.LCSlot + 1])
|
||||
@@ -4941,23 +4940,10 @@ begin
|
||||
end;
|
||||
|
||||
procedure TMainForm.BtnModeClick(Sender: TObject);
|
||||
var
|
||||
Mode: Integer;
|
||||
Path: string;
|
||||
begin
|
||||
Mode := (Sender as TFlatButton).Tag;
|
||||
if (Mode = MODE_DMR) and (FController.FMode = MODE_DMR) then
|
||||
begin
|
||||
Path := FController.StartDMRDiagnostics(15);
|
||||
if Path <> '' then
|
||||
ShowMessage('DMR diagnostic capture started for 15 seconds.' +
|
||||
LineEnding + 'Transmit from the radio now.' + LineEnding + LineEnding +
|
||||
'Files: ' + Path + '.*');
|
||||
Exit;
|
||||
end;
|
||||
// Логика (FMode, дефолтный фильтр, DSP SetMode/TUN/ApplyModeFilter, band cache)
|
||||
// — в контроллере; рендер кнопок/фильтра/спектра — в OnControllerState(rfMode).
|
||||
FController.SetMode(Mode);
|
||||
FController.SetMode((Sender as TFlatButton).Tag);
|
||||
end;
|
||||
|
||||
procedure TMainForm.BtnFilterClick(Sender: TObject);
|
||||
|
||||
Reference in New Issue
Block a user