mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 20:37:33 +00:00
341bb249fd9d5364ff56507f1a2e841ff0714cb5
1. StartRunning applied AGC mode via a raw enum cast (TWDSPAGCMode(FAGCMode)) instead of the index→enum table, inverting Fast↔Off on every connect/go-live (GUI and daemon). Now uses ApplyAGCToEngine like the rest of the unit. 2. SetFilterIdx indexed the per-mode BW/deviation tables with an unchecked Idx (FM tables hold only 2 entries) — out-of-bounds when driven from CAT/web. Now clamps Idx per mode (EnsureRange). 3. ConnectDevice loaded FActiveVfo / FCurrentBand straight from config without range validation; a corrupt/old blob could leave FCurrentBand invalid and make later SetMode/SetFilterIdx write past FBandCache. Both now clamped. 4. VfoSwap did not run the bandstack DSP restore that SetActiveVfo does, so a swap to a VFO on another band kept the old mode/filter/AGC while the band button highlighted the new band. Now mirrors SetActiveVfo. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…
…
…
Languages
Pascal
96.4%
Python
2.9%
Shell
0.6%