From cce7af7334bb30d4d39af4cecd1f0f3f1eeb47ce Mon Sep 17 00:00:00 2001
From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Sat, 28 Oct 2023 14:33:31 +0530
Subject: [PATCH] agc: draw the mode correctly on the screen

---
 rigctl.c | 2 ++
 1 file changed, 2 insertions(+)

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:
-- 
2.45.2