From af22bff007dcbbc434221b1f9b814fe2e4cd7676 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Sat, 28 Oct 2023 11:23:23 +0530 Subject: [PATCH] bug: once agc value is changed, it needs to take effect --- rigctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rigctl.c b/rigctl.c index d453960..16aafea 100644 --- a/rigctl.c +++ b/rigctl.c @@ -1631,7 +1631,7 @@ gboolean parse_extended_cmd(char *command, CLIENT *client) { int agc = atoi(&command[4]); // update RX1 AGC receiver[0]->agc = agc; - vfo_update(); + set_agc(receiver[0], agc); } break; case 'U': // ZZGU @@ -1643,7 +1643,7 @@ gboolean parse_extended_cmd(char *command, CLIENT *client) { int agc = atoi(&command[4]); // update RX2 AGC receiver[1]->agc = agc; - vfo_update(); + set_agc(receiver[1], agc); } break; default: -- 2.45.2