From 5f8a8ed0575e9161bf7143f67db2f8a0ed60a05d Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 14 Aug 2017 14:34:46 +0100 Subject: [PATCH] Re-add the DSQ information when transmitted on RF. --- YSFControl.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/YSFControl.cpp b/YSFControl.cpp index 3aa8ae2..f89e960 100644 --- a/YSFControl.cpp +++ b/YSFControl.cpp @@ -247,6 +247,10 @@ bool CYSFControl::writeModem(unsigned char *data, unsigned int len) #endif if (m_duplex) { + // Add the DSQ information. + fich.setSQL(m_sqlEnabled); + fich.setSQ(m_sqlValue); + fich.setMR(m_remoteGateway ? YSF_MR_NOT_BUSY : YSF_MR_BUSY); fich.setDev(m_lowDeviation); fich.encode(data + 2U); @@ -278,6 +282,10 @@ bool CYSFControl::writeModem(unsigned char *data, unsigned int len) #endif if (m_duplex) { + // Add the DSQ information. + fich.setSQL(m_sqlEnabled); + fich.setSQ(m_sqlValue); + fich.setMR(m_remoteGateway ? YSF_MR_NOT_BUSY : YSF_MR_BUSY); fich.setDev(m_lowDeviation); fich.encode(data + 2U); @@ -393,6 +401,10 @@ bool CYSFControl::writeModem(unsigned char *data, unsigned int len) writeNetwork(data, m_rfFrames % 128U); if (m_duplex) { + // Add the DSQ information. + fich.setSQL(m_sqlEnabled); + fich.setSQ(m_sqlValue); + fich.setMR(m_remoteGateway ? YSF_MR_NOT_BUSY : YSF_MR_BUSY); fich.setDev(m_lowDeviation); fich.encode(data + 2U);