From 52a7f63cdb271dfef6560e3b0e57919df81fdd51 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Tue, 23 Oct 2018 21:59:10 -0300 Subject: [PATCH] Fix remote gateway for DR-1X --- YSFControl.cpp | 2 +- YSFDefines.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/YSFControl.cpp b/YSFControl.cpp index 16ad7bf..fdd0c96 100644 --- a/YSFControl.cpp +++ b/YSFControl.cpp @@ -1093,7 +1093,7 @@ void CYSFControl::writeNetwork() if (m_remoteGateway) { fich.setVoIP(false); - fich.setMR(YSF_MR_NOT_BUSY); + fich.setMR(YSF_MR_DIRECT); } else { fich.setVoIP(true); fich.setMR(YSF_MR_BUSY); diff --git a/YSFDefines.h b/YSFDefines.h index 0b974c3..afbaf83 100644 --- a/YSFDefines.h +++ b/YSFDefines.h @@ -46,6 +46,7 @@ const unsigned char YSF_CM_GROUP1 = 0x00U; const unsigned char YSF_CM_GROUP2 = 0x01U; const unsigned char YSF_CM_INDIVIDUAL = 0x03U; +const unsigned char YSF_MR_DIRECT = 0x00U; const unsigned char YSF_MR_NOT_BUSY = 0x01U; const unsigned char YSF_MR_BUSY = 0x02U;