From 6d14a1e82e638e938e25e91750c6a0ff1c4e3953 Mon Sep 17 00:00:00 2001 From: c vw Date: Mon, 13 Sep 2021 12:12:09 +0200 Subject: [PATCH] fixed another typo --- radio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio.c b/radio.c index d4ec4d6..80415a5 100644 --- a/radio.c +++ b/radio.c @@ -1193,9 +1193,9 @@ void start_radio() { adc[1].preamp=FALSE; adc[1].attenuation=0; if(have_rx_gain) { - adc[1].attenuation=rx_gain_calibration; + adc[1].gain=rx_gain_calibration; } else { - adc[1].attenuation=0; + adc[1].gain=0; } #ifdef SOAPYSDR adc[1].antenna=0; -- 2.45.2