projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
766e451
)
typo
author
Ramakrishnan Muthukrishnan
<ram@leastauthority.com>
Tue, 7 Jun 2022 18:20:59 +0000
(23:50 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@leastauthority.com>
Wed, 8 Jun 2022 05:05:44 +0000
(10:35 +0530)
old_protocol.c
patch
|
blob
|
history
diff --git
a/old_protocol.c
b/old_protocol.c
index 9e55d8705d950dcb819099f56aa4437be3b2365d..cfc87c6b633f8fa955e956aa8439ac003b6e74bd 100644
(file)
--- a/
old_protocol.c
+++ b/
old_protocol.c
@@
-1800,7
+1800,7
@@
static int last_power=0;
if (isTransmitting()) {
output_buffer[C4]=0x20 | (transmitter->attenuation & 0x1F);
} else {
- output_buffer[C4]=0x20 | (adc
_attenuation[0]
& 0x1F);
+ output_buffer[C4]=0x20 | (adc
[0].attenuation
& 0x1F);
//output_buffer[C4]=0x20 | ((int)adc[0].gain & 0x1F);
}
}