Update side band when band buttons are used

This commit is contained in:
Reed Nightingale 2020-01-04 02:53:33 -08:00
parent a0abe466c0
commit b655704264

View File

@ -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();
}