mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-11-05 12:37:24 -05:00
When sideband mode is changed, immediately update tuning
This commit is contained in:
parent
a8910e1ba2
commit
54e4d4bf06
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user