From a2109de63f4b5253523f43705ddbe86eb1d8cd98 Mon Sep 17 00:00:00 2001 From: Reed Nightingale Date: Sat, 4 Jan 2020 02:14:21 -0800 Subject: [PATCH] Fix issue with RIT restore during VFO change --- ubitx_v6.3.1_code.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ubitx_v6.3.1_code.ino b/ubitx_v6.3.1_code.ino index 4e73bf4..a25964d 100644 --- a/ubitx_v6.3.1_code.ino +++ b/ubitx_v6.3.1_code.ino @@ -336,6 +336,8 @@ void checkButton(){ } void switchVFO(Vfo_e new_vfo){ + ritDisable();//If we are in RIT mode, we need to disable it before setting the active VFO so that the correct VFO gets it's frequency restored + globalSettings.activeVfo = new_vfo; setFrequency(GetActiveVfoFreq()); redrawVFOs();