fixed cw side tone setup

cwtone-cfg-fix
phdlee 5 years ago
parent ae8d03601d
commit 9b8ee8b489
  1. 4
      ubitx_20/ubitx_menu.ino

@ -485,7 +485,7 @@ void menuSetupCwTone(int btn){
tone(CW_TONE, sideTone);
//disable all clock 1 and clock 2
while (digitalRead(PTT) == LOW || !btnDown())
while (digitalRead(PTT) == HIGH && !btnDown())
{
knob = enc_read();
@ -506,7 +506,7 @@ void menuSetupCwTone(int btn){
//save the setting
if (digitalRead(PTT) == LOW){
printLine2("Sidetone set! ");
EEPROM.put(CW_SIDETONE, usbCarrier);
EEPROM.put(CW_SIDETONE, sideTone);
delay(2000);
}
else

Loading…
Cancel
Save