From 50cf50b98355fd5b6abade3890073cc042b5e096 Mon Sep 17 00:00:00 2001 From: guido Date: Mon, 11 May 2020 23:42:55 +0200 Subject: [PATCH] Fix that CW Offset not saved after changing CW Tone. --- QCX-SSB.ino | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/QCX-SSB.ino b/QCX-SSB.ino index 69d133b..9a8a9b6 100644 --- a/QCX-SSB.ino +++ b/QCX-SSB.ino @@ -2878,7 +2878,7 @@ void setup() drive = 4; // Init settings if(!ssb_cap){ mode = CW; filt = 4; stepsize = STEP_500; } if(dsp_cap != SDR) pwm_max = 255; // implies that key-shaping circuit is probably present, so use full-scale - if(dsp_cap) cw_offset = tones[0]; else cw_offset = tones[1]; + cw_offset = tones[1]; if(dsp_cap == DSP) volume = 10; // Load parameters from EEPROM, reset to factory defaults when stored values are from a different version @@ -3202,7 +3202,7 @@ void loop() //lut[i] = min(pwm_max, (float)106*log(i) + pwm_min); // compressed microphone output: drive=0, pwm_min=115, pwm_max=220 } if(menu == CWTONE){ - if(dsp_cap) cw_offset = (cw_tone == 0) ? tones[0] : tones[1]; + if(dsp_cap){ cw_offset = (cw_tone == 0) ? tones[0] : tones[1]; paramAction(SAVE, CWOFF); } } #ifdef CAL_IQ if(menu == CALIB){ @@ -3286,9 +3286,7 @@ att extended agc configurable F_CPU CW-L mode VFO-A/B+split+RIT -OLED display support aka http://www.technoblogy.com/list?22ML VOX integration in main loop -auto-bias for AUDIO1+2 inputs K2/TS480 CAT control faster RX-TX switch to support CW clock @@ -3320,4 +3318,11 @@ LCD_ LCD timing differences filter setting per mode? s-meter offset issue + +perstenncy 2.3 setting +temp mode change for cw/ssb - filt setting +all filters availble for cw/ssb mode +iq setting bug + + */