From: DL1YCF Date: Sun, 16 Jan 2022 15:58:50 +0000 (+0100) Subject: Re-inserted a piece of code in old_protocol.c that was X-Git-Url: https://git.rkrishnan.org/pf/components/com_hotproperty?a=commitdiff_plain;h=e6e77ba0465d34c7273c95bb981140b7bf1da98d;p=pihpsdr.git Re-inserted a piece of code in old_protocol.c that was un-intentionally deleted in the latest commit --- diff --git a/old_protocol.c b/old_protocol.c index fb5327d..37d605d 100644 --- 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