From: Ramakrishnan Muthukrishnan Date: Wed, 8 Jun 2022 04:48:29 +0000 (+0530) Subject: typo, should have been adc[1] X-Git-Url: https://git.rkrishnan.org/pf/vdrive/@manifest?a=commitdiff_plain;h=276ccaf4a39f3e2161311dd0200ad6dc487f2575;p=pihpsdr.git typo, should have been adc[1] --- diff --git a/radio.c b/radio.c index 575078e..038d975 100644 --- a/radio.c +++ b/radio.c @@ -1182,7 +1182,7 @@ void start_radio() { adc[1].random = FALSE; adc[1].preamp = FALSE; if (have_rx_gain) { - adc[0].attenuation = 14; + adc[1].gain = 14; } else { adc[1].attenuation = 0; }