]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
When TUNEing in DSB mode, tune on the carrier frequency.
authorc vw <dl1ycf@darc.de>
Wed, 17 Nov 2021 09:26:25 +0000 (10:26 +0100)
committerc vw <dl1ycf@darc.de>
Wed, 17 Nov 2021 09:26:25 +0000 (10:26 +0100)
radio.c

diff --git a/radio.c b/radio.c
index 9145935eb9eed7d7b23ef5543505e8f9db83cbf0..3111554e586e5eae7ba6c78ad3153d3ef1292e1a 100644 (file)
--- a/radio.c
+++ b/radio.c
@@ -1710,7 +1710,7 @@ void setTune(int state) {
       pre_tune_cw_internal=cw_keyer_internal;
 
       //
-      // in USB/DIGU/DSB, tune 1000 Hz above carrier
+      // in USB/DIGU      tune 1000 Hz above carrier
       // in LSB/DIGL,     tune 1000 Hz below carrier
       // all other (CW, AM, FM): tune on carrier freq.
       //
@@ -1720,7 +1720,6 @@ void setTune(int state) {
           SetTXAPostGenToneFreq(transmitter->id,-(double)1000.0);
           break;
         case modeUSB:
-        case modeDSB:
         case modeDIGU:
           SetTXAPostGenToneFreq(transmitter->id,(double)1000.0);
           break;