mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-11-05 12:47:29 -05:00
Update side band when band buttons are used
This commit is contained in:
parent
a0abe466c0
commit
b655704264
10
ubitx_ui.cpp
10
ubitx_ui.cpp
@ -744,7 +744,15 @@ void switchBand(uint32_t bandfreq){
|
||||
//Serial.println(offset);
|
||||
|
||||
setFrequency(bandfreq + offset);
|
||||
updateDisplay();
|
||||
|
||||
if(bandfreq >= THRESHOLD_USB_LSB){
|
||||
SetActiveVfoMode(VfoMode_e::VFO_MODE_USB);
|
||||
}
|
||||
else{
|
||||
SetActiveVfoMode(VfoMode_e::VFO_MODE_LSB);
|
||||
}
|
||||
|
||||
updateDisplay();
|
||||
saveVFOs();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user