]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
fixed another typo
authorc vw <dl1ycf@darc.de>
Mon, 13 Sep 2021 10:12:09 +0000 (12:12 +0200)
committerc vw <dl1ycf@darc.de>
Mon, 13 Sep 2021 10:12:09 +0000 (12:12 +0200)
radio.c

diff --git a/radio.c b/radio.c
index d4ec4d6f4c8276d205abe2d248527fe8dee0ff8b..80415a59aac740d07f3bd5f6418351a83cdde5ec 100644 (file)
--- 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;