When sideband mode is changed, immediately update tuning

This commit is contained in:
Reed Nightingale 2020-01-25 12:02:30 -08:00
parent a8910e1ba2
commit 54e4d4bf06

View File

@ -619,10 +619,13 @@ void cwToggle(struct Button *b){
}
void sidebandToggle(Button* button){
if(BUTTON_LSB == button->id)
if(BUTTON_LSB == button->id){
SetActiveVfoMode(VfoMode_e::VFO_MODE_LSB);
else
}
else{
SetActiveVfoMode(VfoMode_e::VFO_MODE_USB);
}
setFrequency(GetActiveVfoFreq());
struct Button button2;
getButton(BUTTON_USB, &button2);