projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9e299a
)
Re-inserted a piece of code in old_protocol.c that was
author
DL1YCF
<dl1ycf@darc.de>
Sun, 16 Jan 2022 15:58:50 +0000
(16:58 +0100)
committer
DL1YCF
<dl1ycf@darc.de>
Sun, 16 Jan 2022 15:58:50 +0000
(16:58 +0100)
un-intentionally deleted in the latest commit
old_protocol.c
patch
|
blob
|
history
diff --git
a/old_protocol.c
b/old_protocol.c
index fb5327decb13d3ff20891bfc6a76a61e37c0bcee..37d605d5f928069d0af6710351ecffc6ae1fc15d 100644
(file)
--- a/
old_protocol.c
+++ b/
old_protocol.c
@@
-2088,6
+2088,17
@@
static void ozyusb_write(unsigned char* buffer,int length)
break;
}
*/
+ //
+ // DL1YCF:
+ // Although the METIS offset is not used for OZY, we have to maintain it
+ // since it triggers the "alternating" sending of C0=0 and C0!=0
+ // C+C packets in ozy_send_buffer().
+ //
+ if (metis_offset == 8) {
+ metis_offset = 520;
+ } else {
+ metis_offset = 8;
+ }
}
#endif