From 2a412fd34af3b59a9e80ef7863d59c1abecb8b08 Mon Sep 17 00:00:00 2001 From: Reed Nightingale Date: Mon, 4 May 2020 22:06:47 -0700 Subject: [PATCH] Force frequency change after recall. Unfortunately, this puts us just 4 bytes over the limit --- menu_quicklist_buttons.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/menu_quicklist_buttons.cpp b/menu_quicklist_buttons.cpp index 5b4fdfa..8fcec1f 100644 --- a/menu_quicklist_buttons.cpp +++ b/menu_quicklist_buttons.cpp @@ -7,6 +7,7 @@ #include "nano_gui.h" #include "scratch_space.h" #include "settings.h" +#include "tuner.h" #include "utils.h" static const unsigned int LAYOUT_BUTTON_X = 180; @@ -69,6 +70,7 @@ void osQuickListRecall(uint8_t index) { SetActiveVfoFreq(globalSettings.quickList[index].frequency); SetActiveVfoMode(globalSettings.quickList[index].mode); + setFrequency(GetActiveVfoFreq()); } void osQuickListSave(uint8_t index)