diff --git a/radio_dialog.c b/radio_dialog.c index b6b8d7c..5648bf8 100644 --- a/radio_dialog.c +++ b/radio_dialog.c @@ -122,6 +122,8 @@ static void radio_dialog_update_controls() { radio->filter_board=N2ADR; break; case ATLAS: + radio->filter_board=ALEX; + break; case HERMES: case HERMES_2: case ANGELIA: @@ -178,6 +180,17 @@ static void radio_dialog_update_controls() { case SOAPY_DEVICE: break; #endif + case ATLAS: + gtk_widget_set_sensitive(adc0_antenna_combo_box, TRUE); + gtk_widget_set_sensitive(adc0_filters_combo_box, TRUE); + if(radio->adc[0].filters==AUTOMATIC) { + gtk_widget_set_sensitive(adc0_lpf_combo_box, FALSE); + gtk_widget_set_sensitive(adc0_hpf_combo_box, FALSE); + } else { + gtk_widget_set_sensitive(adc0_hpf_combo_box, TRUE); + gtk_widget_set_sensitive(adc0_lpf_combo_box, TRUE); + } + break; default: g_print("%s: defualt set_sensitive\n",__FUNCTION__); gtk_widget_set_sensitive(adc0_antenna_combo_box, FALSE);