From 884589c523846722c99edcbf6f34349f578a2977 Mon Sep 17 00:00:00 2001
From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Fri, 14 Jan 2022 15:33:05 +0530
Subject: [PATCH] debug print

---
 sliders.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sliders.c b/sliders.c
index 87af31d..d2c372d 100644
--- a/sliders.c
+++ b/sliders.c
@@ -153,6 +153,7 @@ static void attenuation_value_changed_cb(GtkWidget *widget, gpointer data) {
 
 void set_attenuation_value(double value) {
   g_print("%s\n",__FUNCTION__);
+  printf("last attn value: %f, setting it to: %f\n", adc[active_receiver->adc].attenuation, value);
   adc[active_receiver->adc].attenuation=(int)value;
   set_attenuation(adc[active_receiver->adc].attenuation);
   if(display_sliders) {
-- 
2.45.2