mirror of https://github.com/g4klx/MMDVMHost
Re-add the DSQ information when transmitted on RF.
This commit is contained in:
parent
bd8f15cf5d
commit
5f8a8ed057
|
|
@ -247,6 +247,10 @@ bool CYSFControl::writeModem(unsigned char *data, unsigned int len)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (m_duplex) {
|
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.setMR(m_remoteGateway ? YSF_MR_NOT_BUSY : YSF_MR_BUSY);
|
||||||
fich.setDev(m_lowDeviation);
|
fich.setDev(m_lowDeviation);
|
||||||
fich.encode(data + 2U);
|
fich.encode(data + 2U);
|
||||||
|
|
@ -278,6 +282,10 @@ bool CYSFControl::writeModem(unsigned char *data, unsigned int len)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (m_duplex) {
|
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.setMR(m_remoteGateway ? YSF_MR_NOT_BUSY : YSF_MR_BUSY);
|
||||||
fich.setDev(m_lowDeviation);
|
fich.setDev(m_lowDeviation);
|
||||||
fich.encode(data + 2U);
|
fich.encode(data + 2U);
|
||||||
|
|
@ -393,6 +401,10 @@ bool CYSFControl::writeModem(unsigned char *data, unsigned int len)
|
||||||
writeNetwork(data, m_rfFrames % 128U);
|
writeNetwork(data, m_rfFrames % 128U);
|
||||||
|
|
||||||
if (m_duplex) {
|
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.setMR(m_remoteGateway ? YSF_MR_NOT_BUSY : YSF_MR_BUSY);
|
||||||
fich.setDev(m_lowDeviation);
|
fich.setDev(m_lowDeviation);
|
||||||
fich.encode(data + 2U);
|
fich.encode(data + 2U);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue