Redraw VFO after mode change so that UI will reflect active setting

This commit is contained in:
Reed Nightingale 2020-01-04 02:52:56 -08:00
parent 4674230f51
commit a0abe466c0

View File

@ -1,8 +1,9 @@
#include <string.h>//memset #include <string.h>//memset
#include <stdint.h> #include <stdint.h>
#include <EEPROM.h> #include <EEPROM.h>
#include <Arduino.h>//only needed for debugging's Serial.print stuff
#include "settings.h" #include "settings.h"
#include <Arduino.h> #include "ubitx.h"//redrawVFOs() function
/** /**
* These are the "magic" indices where these user changable settinngs are stored in the EEPROM * These are the "magic" indices where these user changable settinngs are stored in the EEPROM
@ -161,4 +162,5 @@ void SetActiveVfoMode(VfoMode_e mode)
else{ else{
globalSettings.vfoB.mode = mode; globalSettings.vfoB.mode = mode;
} }
redrawVFOs();
} }