From 39e342dba94d58b1ba461e24087a4bb6ee3de406 Mon Sep 17 00:00:00 2001 From: John Melton G0ORX Date: Wed, 25 Mar 2020 23:50:03 +0000 Subject: [PATCH] Set TX mode and filter when active receiver changes --- receiver.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/receiver.c b/receiver.c index 4ebe1d2..8ae57f2 100644 --- a/receiver.c +++ b/receiver.c @@ -98,7 +98,10 @@ gboolean receiver_button_release_event(GtkWidget *widget, GdkEventButton *event, g_idle_add(ext_start_rx,NULL); } - ///g_print("receiver: %d adc=%d attenuation=%d rx_gain_calibration=%d\n",rx->id,rx->adc,adc_attenuation[rx->adc],rx_gain_calibration); + // setup the transmitter mode and filter + tx_set_mode(transmitter,get_tx_mode()); + + //g_print("receiver: %d adc=%d attenuation=%d rx_gain_calibration=%d\n",rx->id,rx->adc,adc_attenuation[rx->adc],rx_gain_calibration); } else { if(pressed) { int x=(int)event->x; -- 2.45.2