fix web TX spectrum position in CTUN mode

Add 'dup' field to state JSON (FDisplayDuplex). In CTUN+non-DUP TX,
use vfo_a_hz as spectrum center so the TX signal renders at the VFO
position instead of the display center. In CTUN+DUP TX, keep center_hz
so the RX spectrum stays correctly positioned at the filter.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-09 16:15:34 +03:00
co-authored by Claude Sonnet 4.6
parent 9ae77ddeb4
commit 22e01a6e3f
3 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -2776,7 +2776,7 @@ begin
FCenterFreq, FFilter,
FVfoB, FActiveVfo,
FTransmitting, TrkDrive.Position,
FAtten, FTuning);
FAtten, FTuning, FDisplayDuplex);
end;
// ===========================================================================