bug fixed (found gereld) Autokey on Rit bug

This commit is contained in:
phdlee 2018-03-19 10:13:30 +09:00
parent f0409d641d
commit bd52de59d2

View File

@ -707,7 +707,6 @@ void doTuningWithThresHold(){
(vfoActive == VFO_B && ((isDialLock & 0x02) == 0x02))) (vfoActive == VFO_B && ((isDialLock & 0x02) == 0x02)))
return; return;
if (isCWAutoMode == 0 || cwAutoDialType == 1)
s = enc_read(); s = enc_read();
//if time is exceeded, it is recognized as an error, //if time is exceeded, it is recognized as an error,
@ -1179,12 +1178,13 @@ void loop(){
//tune only when not tranmsitting //tune only when not tranmsitting
if (!inTx){ if (!inTx){
if (isCWAutoMode == 0 || cwAutoDialType == 1)
{
if (ritOn) if (ritOn)
doRIT(); doRIT();
//else if (isIFShift)
// doIFShift();
else else
doTuningWithThresHold(); doTuningWithThresHold();
}
if (isCWAutoMode == 0 && beforeIdle_ProcessTime < millis() - 250) { if (isCWAutoMode == 0 && beforeIdle_ProcessTime < millis() - 250) {
idle_process(); idle_process();