From a0abe466c0efd6c2fb1e20c3f9eb289a1acecf69 Mon Sep 17 00:00:00 2001 From: Reed Nightingale Date: Sat, 4 Jan 2020 02:52:56 -0800 Subject: [PATCH] Redraw VFO after mode change so that UI will reflect active setting --- settings.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/settings.cpp b/settings.cpp index ffd4c0e..eb95c18 100644 --- a/settings.cpp +++ b/settings.cpp @@ -1,8 +1,9 @@ #include //memset #include #include +#include //only needed for debugging's Serial.print stuff #include "settings.h" -#include +#include "ubitx.h"//redrawVFOs() function /** * 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{ globalSettings.vfoB.mode = mode; } + redrawVFOs(); }