From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Sat, 28 Oct 2023 09:03:31 +0000 (+0530)
Subject: agc: draw the mode correctly on the screen
X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/about/reliability?a=commitdiff_plain;h=cce7af7334bb30d4d39af4cecd1f0f3f1eeb47ce;p=pihpsdr.git

agc: draw the mode correctly on the screen
---

diff --git a/rigctl.c b/rigctl.c
index 16aafea..14f09d3 100644
--- a/rigctl.c
+++ b/rigctl.c
@@ -1632,6 +1632,7 @@ gboolean parse_extended_cmd(char *command, CLIENT *client) {
         // update RX1 AGC
         receiver[0]->agc = agc;
         set_agc(receiver[0], agc);
+	vfo_update(); // to draw the AGC mode on the screen
       }
       break;
     case 'U': // ZZGU
@@ -1644,6 +1645,7 @@ gboolean parse_extended_cmd(char *command, CLIENT *client) {
         // update RX2 AGC
         receiver[1]->agc = agc;
 	set_agc(receiver[1], agc);
+	vfo_update(); // to draw the AGC mode on the screen
       }
       break;
     default: