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
1 changed files with 8 additions and 8 deletions

View File

@ -707,8 +707,7 @@ 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,
//ignore exists values, because of errors //ignore exists values, because of errors
@ -1179,12 +1178,13 @@ void loop(){
//tune only when not tranmsitting //tune only when not tranmsitting
if (!inTx){ if (!inTx){
if (ritOn) if (isCWAutoMode == 0 || cwAutoDialType == 1)
doRIT(); {
//else if (isIFShift) if (ritOn)
// doIFShift(); doRIT();
else else
doTuningWithThresHold(); doTuningWithThresHold();
}
if (isCWAutoMode == 0 && beforeIdle_ProcessTime < millis() - 250) { if (isCWAutoMode == 0 && beforeIdle_ProcessTime < millis() - 250) {
idle_process(); idle_process();