kopia lustrzana https://github.com/afarhan/ubitx4
Ian's code fixes, mostly on the UI changes
rodzic
353a50899b
commit
c8b1c015d4
|
@ -208,7 +208,13 @@ void menuSidebandToggle(int btn){
|
||||||
active_delay(500);
|
active_delay(500);
|
||||||
printLine2("");
|
printLine2("");
|
||||||
}
|
}
|
||||||
|
//Added by KD8CEC
|
||||||
|
if (vfoActive == VFO_B){
|
||||||
|
isUsbVfoB = isUSB;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
isUsbVfoB = isUSB;
|
||||||
|
}
|
||||||
updateDisplay();
|
updateDisplay();
|
||||||
menuOn = 0;
|
menuOn = 0;
|
||||||
}
|
}
|
||||||
|
@ -235,6 +241,7 @@ void menuSplitToggle(int btn){
|
||||||
printLine2("Split Off");
|
printLine2("Split Off");
|
||||||
}
|
}
|
||||||
active_delay(500);
|
active_delay(500);
|
||||||
|
printLine2("");
|
||||||
updateDisplay();
|
updateDisplay();
|
||||||
menuOn = 0;
|
menuOn = 0;
|
||||||
}
|
}
|
||||||
|
@ -506,7 +513,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) == HIGH || !btnDown())
|
while (digitalRead(PTT) == HIGH && !btnDown())
|
||||||
{
|
{
|
||||||
knob = enc_read();
|
knob = enc_read();
|
||||||
|
|
||||||
|
@ -616,6 +623,11 @@ void menuSetupKeyer(int btn){
|
||||||
printLine1("Keyer Set!");
|
printLine1("Keyer Set!");
|
||||||
active_delay(600);
|
active_delay(600);
|
||||||
printLine1("");
|
printLine1("");
|
||||||
|
|
||||||
|
//Added KD8CEC
|
||||||
|
printLine2("");
|
||||||
|
updateDisplay();
|
||||||
|
menuOn = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void menuReadADC(int btn){
|
void menuReadADC(int btn){
|
||||||
|
|
|
@ -337,7 +337,7 @@ void startTx(byte txMode){
|
||||||
else if (vfoActive == VFO_A){
|
else if (vfoActive == VFO_A){
|
||||||
vfoActive = VFO_B;
|
vfoActive = VFO_B;
|
||||||
frequency = vfoB;
|
frequency = vfoB;
|
||||||
isUSB = isUsbVfoA;
|
isUSB = isUsbVfoB;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
setFrequency(frequency);
|
setFrequency(frequency);
|
||||||
|
|
Ładowanie…
Reference in New Issue