From 50588afb16be80763bcc59f68794a7f82744a0dc Mon Sep 17 00:00:00 2001 From: Tom Early Date: Mon, 11 Feb 2019 16:33:05 -0700 Subject: [PATCH] found some 29s that should be 27 --- QnetGateway.cpp | 2 +- QnetModem.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QnetGateway.cpp b/QnetGateway.cpp index a1b21b7..6a70e9f 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -683,7 +683,7 @@ void CQnetGateway::ProcessTimeouts() end_of_audio.ctrl = toRptr[i].sequence | 0x40; for (int j=0; j<2; j++) - Gate2Modem[i].Write(end_of_audio.title, 29); + Gate2Modem[i].Write(end_of_audio.title, 27); toRptr[i].streamid = 0; diff --git a/QnetModem.cpp b/QnetModem.cpp index 1a3d52d..5656201 100644 --- a/QnetModem.cpp +++ b/QnetModem.cpp @@ -728,7 +728,7 @@ bool CQnetModem::ProcessModem(const SMODEM &frame) } first_voice_packet = in_stream = false; } - if (29 != Modem2Gate.Write(dsvt.title, 27)) { + if (27 != Modem2Gate.Write(dsvt.title, 27)) { printf("ERROR: ProcessModem: Could not write gateway voice packet\n"); return true; }