From: c vw Date: Mon, 13 Sep 2021 10:12:09 +0000 (+0200) Subject: fixed another typo X-Git-Url: https://git.rkrishnan.org/listings/vdrive/index.php?a=commitdiff_plain;h=6d14a1e82e638e938e25e91750c6a0ff1c4e3953;p=pihpsdr.git fixed another typo --- 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;