]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
agc: draw the mode correctly on the screen
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sat, 28 Oct 2023 09:03:31 +0000 (14:33 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sat, 28 Oct 2023 09:03:31 +0000 (14:33 +0530)
rigctl.c

index 16aafea40c87717bd9401d947e78138a41fa05d6..14f09d3be9e8618435c3eacbd83b6f8b99e10d30 100644 (file)
--- 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: