From: Ramakrishnan Muthukrishnan Date: Wed, 17 Aug 2022 06:08:50 +0000 (+0530) Subject: threshold value needs to be multiplied with 0.165 according to psdr code X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/file/$top_link?a=commitdiff_plain;h=5119641faf921bc2f91e2602dafca91cbe3cb46c;p=pihpsdr.git threshold value needs to be multiplied with 0.165 according to psdr code --- diff --git a/nb_menu.c b/nb_menu.c index 283d871..2a81c27 100644 --- a/nb_menu.c +++ b/nb_menu.c @@ -83,6 +83,7 @@ static void nb_transition_time_value_changed_cb(GtkWidget *widget, gpointer data static void nb_threshold_value_changed_cb(GtkWidget *widget, gpointer data) { nb_threshold_value = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(widget)); + nb_threshold_value *= 0.165; nb_changed(); }