Ian's code fixes, mostly on the UI changes

master
Farhan 2018-05-22 20:09:28 +05:30
rodzic 353a50899b
commit c8b1c015d4
2 zmienionych plików z 38 dodań i 26 usunięć

Wyświetl plik

@ -208,7 +208,13 @@ void menuSidebandToggle(int btn){
active_delay(500);
printLine2("");
}
//Added by KD8CEC
if (vfoActive == VFO_B){
isUsbVfoB = isUSB;
}
else {
isUsbVfoB = isUSB;
}
updateDisplay();
menuOn = 0;
}
@ -235,6 +241,7 @@ void menuSplitToggle(int btn){
printLine2("Split Off");
}
active_delay(500);
printLine2("");
updateDisplay();
menuOn = 0;
}
@ -506,7 +513,7 @@ void menuSetupCwTone(int btn){
tone(CW_TONE, sideTone);
//disable all clock 1 and clock 2
while (digitalRead(PTT) == HIGH || !btnDown())
while (digitalRead(PTT) == HIGH && !btnDown())
{
knob = enc_read();
@ -616,6 +623,11 @@ void menuSetupKeyer(int btn){
printLine1("Keyer Set!");
active_delay(600);
printLine1("");
//Added KD8CEC
printLine2("");
updateDisplay();
menuOn = 0;
}
void menuReadADC(int btn){

Wyświetl plik

@ -337,7 +337,7 @@ void startTx(byte txMode){
else if (vfoActive == VFO_A){
vfoActive = VFO_B;
frequency = vfoB;
isUSB = isUsbVfoA;
isUSB = isUsbVfoB;
}
}
setFrequency(frequency);