From b863b3edfafe927e7dd22947beb0333637f42bf9 Mon Sep 17 00:00:00 2001
From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Fri, 14 Jan 2022 15:41:08 +0530
Subject: [PATCH] bug in debug print

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

diff --git a/sliders.c b/sliders.c
index d2c372d..61569ad 100644
--- a/sliders.c
+++ b/sliders.c
@@ -153,7 +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);
+  printf("last attn value: %d, 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