mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-09-04 21:34:24 -04:00
Save settings on VFO change or sideband change
This commit is contained in:
parent
3b932d54b4
commit
4a27962a5b
@ -349,6 +349,7 @@ ButtonStatus_e bsVfo(const Vfo_e vfo){
|
|||||||
|
|
||||||
void osVfo(const Vfo_e vfo){
|
void osVfo(const Vfo_e vfo){
|
||||||
globalSettings.activeVfo = vfo;
|
globalSettings.activeVfo = vfo;
|
||||||
|
SaveSettingsToEeprom();
|
||||||
}
|
}
|
||||||
|
|
||||||
void toVfoA(char* text_out, const uint16_t max_text_size){
|
void toVfoA(char* text_out, const uint16_t max_text_size){
|
||||||
@ -410,6 +411,7 @@ void osRit(){
|
|||||||
|
|
||||||
void osSidebandMode(VfoMode_e mode){
|
void osSidebandMode(VfoMode_e mode){
|
||||||
SetActiveVfoMode(mode);
|
SetActiveVfoMode(mode);
|
||||||
|
SaveSettingsToEeprom();
|
||||||
|
|
||||||
Button button;
|
Button button;
|
||||||
memcpy_P(&button,&bUsb,sizeof(button));
|
memcpy_P(&button,&bUsb,sizeof(button));
|
||||||
|
Loading…
Reference in New Issue
Block a user