]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
more debug prints debug-nr
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sat, 2 Dec 2023 15:05:47 +0000 (20:35 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sat, 2 Dec 2023 15:05:47 +0000 (20:35 +0530)
vfo.c

diff --git a/vfo.c b/vfo.c
index 976ee828d9e3047cfa7b924ab951527e83c5eba5..5cdddda7225906f0278c5c883c47b8075d7dbb3b 100644 (file)
--- a/vfo.c
+++ b/vfo.c
@@ -1027,6 +1027,8 @@ void draw_item(cairo_t *cr, size_t item, uint status) {
 // I am not proud of this code
 int get_nr(RECEIVER *rx)
 {
+    g_print("get_nr: NR: %d, NR2: %d, NR3: %d, NR4: %d\n",
+           rx->nr, rx->nr2, rx->nr3, rx->nr4);
     if (rx->nr == 0 && rx->nr2 == 0 && rx->nr3 == 0 && rx->nr4 == 0) {
        return 0;
     }