From: c vw Date: Tue, 14 Jan 2020 14:04:27 +0000 (+0100) Subject: Adapted to larger gain range in DIVERSITY X-Git-Url: https://git.rkrishnan.org/simplejson/provisioning?a=commitdiff_plain;h=f2332c1cc4753f23979b475eae9ce37d8c140086;p=pihpsdr.git Adapted to larger gain range in DIVERSITY --- diff --git a/sliders.c b/sliders.c index 963a517..5a716c2 100644 --- a/sliders.c +++ b/sliders.c @@ -695,7 +695,7 @@ void show_diversity_gain() { scale_status=DIVERSITY_GAIN; scale_dialog=gtk_dialog_new_with_buttons("Diversity Gain",GTK_WINDOW(top_window),GTK_DIALOG_DESTROY_WITH_PARENT,NULL,NULL); GtkWidget *content=gtk_dialog_get_content_area(GTK_DIALOG(scale_dialog)); - diversity_gain_scale=gtk_scale_new_with_range(GTK_ORIENTATION_HORIZONTAL,-12.0, 12.0, 0.1); + diversity_gain_scale=gtk_scale_new_with_range(GTK_ORIENTATION_HORIZONTAL,-25.0, 25.0, 0.1); gtk_widget_set_size_request (diversity_gain_scale, 400, 30); gtk_range_set_value (GTK_RANGE(diversity_gain_scale),div_gain); gtk_widget_show(diversity_gain_scale);