]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
fixed vfo display of agc setting.
authorJohn Melton - G0ORX/N6LYT <john.d.melton@googlemail.com>
Sat, 3 Dec 2016 08:48:21 +0000 (08:48 +0000)
committerJohn Melton - G0ORX/N6LYT <john.d.melton@googlemail.com>
Sat, 3 Dec 2016 08:48:21 +0000 (08:48 +0000)
agc_menu.c

index 2d67e5d39839e0ef4f88c3cf838434a57ec3683a..1c88fcbf7cd907df4c33187daea43a18a53ca5fb 100644 (file)
@@ -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) {