mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 20:37:33 +00:00
8f0ba64d677b9df563799d8a78110b04ecb997ac
Two A-hardcoded spots broke CTUN whenever VFO B was the active receiver: - SetVfoB forced shift=0 (no CTUN handling), so click/wheel/edit on B re-centered the DDC instead of shifting the demodulator. - SetCTun, on disable, re-centered on FVfoA regardless of active VFO. Extract the CTUN shift/center/edge-scroll logic into a shared private ApplyTuneCore(VfoHz) used by both SetVfoA and SetVfoB, and add ActiveVfoHz. SetCTun now centers on ActiveVfoHz. CTUN behaves identically on A and B. This also was a latent gap pre-refactor (the old inline VFO B tune blocks never honored CTUN). Builds clean, links. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Languages
Pascal
96.4%
Python
2.9%
Shell
0.6%