From: DL1YCF Date: Sat, 10 Oct 2020 13:13:44 +0000 (+0200) Subject: very small change X-Git-Url: https://git.rkrishnan.org/simplejson/htmlfontify-example.html?a=commitdiff_plain;h=340f7a9162d1e4b7e1f93358998b9f5eadd4fd43;p=pihpsdr.git very small change --- diff --git a/sliders.c b/sliders.c index a5b6cba..a13eb3b 100644 --- a/sliders.c +++ b/sliders.c @@ -246,7 +246,7 @@ static gboolean load_att_type_cb(gpointer data) { static void c25_att_combobox_changed(GtkWidget *widget, gpointer data) { int val = atoi(gtk_combo_box_get_active_id(GTK_COMBO_BOX(widget))); - if (active_receiver->id == 0) { + if (active_receiver->adc == 0) { // this button is only valid for the first receiver // store attenuation, such that in meter.c the correct level is displayed adc_attenuation[active_receiver->adc] = 12*val;