projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6e040
)
Initialize alex_attenuation when creating receiver.
author
c vw
<dl1ycf@darc.de>
Tue, 22 Sep 2020 10:19:19 +0000
(12:19 +0200)
committer
c vw
<dl1ycf@darc.de>
Tue, 22 Sep 2020 10:19:19 +0000
(12:19 +0200)
receiver.c
patch
|
blob
|
history
diff --git
a/receiver.c
b/receiver.c
index a13493d190fa9df2aa3a5885575c7372a0dda0c9..3fd94e49a06b29fe3eac7a5c35ffedfc0a50a589 100644
(file)
--- a/
receiver.c
+++ b/
receiver.c
@@
-1027,7
+1027,7
@@
fprintf(stderr,"create_receiver: id=%d default adc=%d\n",rx->id, rx->adc);
BAND *b=band_get_band(vfo[rx->id].band);
rx->alex_antenna=b->alexRxAntenna;
- //rx->alex_attenuation=b->alexAttenuation; // nowhere maintained
+ rx->alex_attenuation=0;
rx->agc=AGC_MEDIUM;
rx->agc_gain=80.0;