mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 18:43:51 +00:00
04f621bf3d8975a8e38f5a5b05ed1ba2a262ac71
Move the device bring-up tail of DoConnectDevice into TRadioController, symmetric with StopRunning: - Relocate four pure DSP/network helpers into the controller (BuildMicLineSelectByte, ApplyNoiseFilterButtonsToDSP, SendDUCSpecificFromSettings, ApplyTXSettingsToDSP); external callers (OnTXSettingsChange) now call FController.*. - New StartRunning(SpectrumWidth): General packet, wideband/DDC config, WDSP sample-rate sync, DSP restore (mode/volume/filter/NR/AGC), Run=1 sequence, seq reset, DDC/DUC Specific + TX chain, AGC lines. Emits Changed(rfRunning) so the run button / MOX enable / sleep inhibit render through OnControllerState. DoConnectDevice's ~80-line Phase C collapses to one call; only UI bits (FSpecView.AGCTop, status text, ResizeSpectrumPanels) stay in the wrapper. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Languages
Pascal
96.4%
Python
2.9%
Shell
0.6%