projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a17b4f
)
WIP: test with a new tx level scheme
author
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Sun, 6 Nov 2022 13:19:12 +0000
(18:49 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Sun, 6 Nov 2022 13:19:12 +0000
(18:49 +0530)
old_protocol.c
patch
|
blob
|
history
diff --git
a/old_protocol.c
b/old_protocol.c
index 387048ab2422f2e59d423398e185dce40ac23cc9..2658e41479451fb652bad52780d342ec1936b886 100644
(file)
--- a/
old_protocol.c
+++ b/
old_protocol.c
@@
-1661,6
+1661,8
@@
void ozy_send_buffer() {
power=transmitter->drive_level;
}
+ // printf("power: %d\n", power);
+#if 0
if (device == DEVICE_HERMES_LITE2) {
//
// from the "intended" drive level power, calculate the
@@
-1715,6
+1717,7
@@
void ozy_send_buffer() {
}
power=hl2power;
}
+#endif
}
//if(last_power!=power) {
@@
-1722,8
+1725,6
@@
void ozy_send_buffer() {
// last_power=power;
//}
-
-
output_buffer[C0]=0x12; /* addr[6:1] = 001001b */
output_buffer[C1]=power & 0xFF;
output_buffer[C2]=0x00;