]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
if we change NR value, then update_noise() needs to be called
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sat, 2 Dec 2023 15:02:06 +0000 (20:32 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sat, 2 Dec 2023 15:02:06 +0000 (20:32 +0530)
vfo.c

diff --git a/vfo.c b/vfo.c
index bdbbaad7df184b1a080d18cdc3d84fe228a7e70a..976ee828d9e3047cfa7b924ab951527e83c5eba5 100644 (file)
--- a/vfo.c
+++ b/vfo.c
@@ -1262,7 +1262,7 @@ void vfo_update(void) {
         // some space
        int which_nb = get_nb(active_receiver);
        if (which_nb < 0) {
-           g_print("RIGCTL: ERROR in NR determination used for display\n");
+           g_print("RIGCTL: ERROR in NB determination used for display\n");
            which_nb = 0;
        }
        draw_item(cr, SCR_NB, which_nb);
@@ -1274,6 +1274,7 @@ void vfo_update(void) {
            g_print("RIGCTL: ERROR in NR determination used for display\n");
            which_nr = 0;
        }
+       update_noise();
        draw_item(cr, SCR_NR, which_nr);
 
        // anf