From: c vw <dl1ycf@darc.de>
Date: Wed, 17 Nov 2021 09:26:25 +0000 (+0100)
Subject: When TUNEing in DSB mode, tune on the carrier frequency.
X-Git-Url: https://git.rkrishnan.org/pf/components/(%5B%5E?a=commitdiff_plain;h=a3e5e01bfaff7f6f33ccdca2f52013d53a8d953f;p=pihpsdr.git

When TUNEing in DSB mode, tune on the carrier frequency.
---

diff --git a/radio.c b/radio.c
index 9145935..3111554 100644
--- 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;