projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
349f7b1
)
typo, should have been adc[1]
author
Ramakrishnan Muthukrishnan
<ram@leastauthority.com>
Wed, 8 Jun 2022 04:48:29 +0000
(10:18 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@leastauthority.com>
Wed, 8 Jun 2022 05:05:44 +0000
(10:35 +0530)
radio.c
patch
|
blob
|
history
diff --git
a/radio.c
b/radio.c
index 575078e3e252c50872adf356fbceb21b70159314..038d9753987ded914e49c74ed900e38e307ce315 100644
(file)
--- 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].attenuatio
n = 14;
+ adc[
1].gai
n = 14;
} else {
adc[1].attenuation = 0;
}