]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Deactivated "RIT/XIT adjustment of VFO display frequencies" since
authorc vw <dl1ycf@darc.de>
Thu, 17 Dec 2020 10:36:49 +0000 (11:36 +0100)
committerc vw <dl1ycf@darc.de>
Thu, 17 Dec 2020 10:36:49 +0000 (11:36 +0100)
there is no consensus if this should be done or not. The code
is deactivate with #if 0 / #endif but still there, if needed.

vfo.c

diff --git a/vfo.c b/vfo.c
index 3096a0b70ad923c2e664d6394036909d3da5ff44..174f4498110d22a2f096c3ccf46151babd5ea411 100644 (file)
--- a/vfo.c
+++ b/vfo.c
@@ -1078,6 +1078,16 @@ void vfo_update() {
         long long af = vfo[0].ctun ? vfo[0].ctun_frequency : vfo[0].frequency;
         long long bf = vfo[1].ctun ? vfo[1].ctun_frequency : vfo[1].frequency;
 
+#if 0
+//
+// DL1YCF: code still here but deactivated:
+// there is no consensus whether the "VFO display frequency" should move if
+// RIT/XIT values are changed. My Kenwood TS590 does, but some popular
+// other SDR software does not.
+// So although I do not feel too well if the actual TX frequency is not
+// that on the display, I deactivate the code but leave it here so it
+// can quickly be re-activated if one wants.
+// 
         //
         // If RIT or XIT is active, add this to displayed VFO frequency
         //
@@ -1096,6 +1106,7 @@ void vfo_update() {
         } else {
           if (vfo[1].rit_enabled) bf += vfo[0].rit;
         }
+#endif
 
         int oob=0;
         if (can_transmit) oob=transmitter->out_of_band;