if shift bfo modified

This commit is contained in:
phdlee 2018-03-20 17:06:28 +09:00
parent ecd104b686
commit d7858e35c3

View File

@ -195,11 +195,13 @@ void menuIFSSetup(int btn){
{ {
updateLine2Buffer(1); updateLine2Buffer(1);
setFrequency(frequency); setFrequency(frequency);
/*
if (cwMode == 0) if (cwMode == 0)
si5351bx_setfreq(0, usbCarrier + (isIFShift ? ifShiftValue : 0)); //set back the carrier oscillator anyway, cw tx switches it off si5351bx_setfreq(0, usbCarrier + (isIFShift ? ifShiftValue : 0)); //set back the carrier oscillator anyway, cw tx switches it off
else else
si5351bx_setfreq(0, cwmCarrier + (isIFShift ? ifShiftValue : 0)); //set back the carrier oscillator anyway, cw tx switches it off si5351bx_setfreq(0, cwmCarrier + (isIFShift ? ifShiftValue : 0)); //set back the carrier oscillator anyway, cw tx switches it off
*/
SetCarrierFreq();
needApplyChangeValue = 0; needApplyChangeValue = 0;
} }
@ -224,6 +226,7 @@ void menuIFSSetup(int btn){
//printLineF2(F("OFF")); //printLineF2(F("OFF"));
//clearLine2(); //clearLine2();
setFrequency(frequency); setFrequency(frequency);
SetCarrierFreq();
//delay_background(1500, 0); //delay_background(1500, 0);
} }