fixed cw side tone setup
This commit is contained in:
parent
ae8d03601d
commit
9b8ee8b489
@ -485,7 +485,7 @@ void menuSetupCwTone(int btn){
|
|||||||
tone(CW_TONE, sideTone);
|
tone(CW_TONE, sideTone);
|
||||||
|
|
||||||
//disable all clock 1 and clock 2
|
//disable all clock 1 and clock 2
|
||||||
while (digitalRead(PTT) == LOW || !btnDown())
|
while (digitalRead(PTT) == HIGH && !btnDown())
|
||||||
{
|
{
|
||||||
knob = enc_read();
|
knob = enc_read();
|
||||||
|
|
||||||
@ -506,7 +506,7 @@ void menuSetupCwTone(int btn){
|
|||||||
//save the setting
|
//save the setting
|
||||||
if (digitalRead(PTT) == LOW){
|
if (digitalRead(PTT) == LOW){
|
||||||
printLine2("Sidetone set! ");
|
printLine2("Sidetone set! ");
|
||||||
EEPROM.put(CW_SIDETONE, usbCarrier);
|
EEPROM.put(CW_SIDETONE, sideTone);
|
||||||
delay(2000);
|
delay(2000);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user