mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 19:45:09 +00:00
783c8976c9bbd174d10e60242c47805ab7fd25ca
Fill controller.ConnectDevice with the DoConnectDevice load core: Connect, load per-device settings by MAC (TX/Alex/XVTR, PA cal, drive%, sample rate, NR/NB/SNB/ANF, Wf/Show/Spec params) into controller fields, configure DSP display + open audio devices. Returns False on connect failure (UI shows the message). New FLoadedGlobal field retains the loaded TGlobalSettings so the UI can render fields the controller doesn't own (FPS/FreqMhzDigits/CAT). New OnControllerState(rfDevice) renders all device-level widgets from state (drive slider, NR/NB buttons, FSpecView/Wideband params, DUP, sample-rate overlay, CAT apply, web push, FPS, freq digits). drive% now loads directly into FDrivePercent instead of via TrkDrive.Position; the slider reflects it in the render. DoConnectDevice collapses to a thin wrapper: ConnectDevice -> RestoreBand/XVTR/active-VFO -> StartRunning. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Languages
Pascal
96.4%
Python
2.9%
Shell
0.6%