From: John Melton - G0ORX/N6LYT <john.d.melton@googlemail.com>
Date: Sat, 3 Dec 2016 08:48:21 +0000 (+0000)
Subject: fixed vfo display of agc setting.
X-Git-Url: https://git.rkrishnan.org/components/%22file:/frontends/flags/quickstart.html?a=commitdiff_plain;h=11ea79b126909965ccf4a076ec63988150c9cb81;p=pihpsdr.git

fixed vfo display of agc setting.
---

diff --git a/agc_menu.c b/agc_menu.c
index 2d67e5d..1c88fcb 100644
--- a/agc_menu.c
+++ b/agc_menu.c
@@ -27,6 +27,7 @@
 #include "band.h"
 #include "channel.h"
 #include "radio.h"
+#include "vfo.h"
 #include "button_text.h"
 
 static GtkWidget *parent_window=NULL;
@@ -45,6 +46,7 @@ static gboolean close_cb (GtkWidget *widget, GdkEventButton *event, gpointer dat
 static gboolean agc_select_cb (GtkWidget *widget, gpointer        data) {
   agc=(int)data;
   wdsp_set_agc(CHANNEL_RX0, agc);
+  vfo_update(NULL);
 }
 
 void agc_menu(GtkWidget *parent) {