From 9512e0c2562f2c24d6e0f9589fd324c1d89ca75e Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Sun, 26 Mar 2023 10:02:53 -0400 Subject: [PATCH] fix inverted logic checks for permittedTG() for DMR and NXDN; --- src/dmr/Slot.cpp | 2 +- src/nxdn/Control.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dmr/Slot.cpp b/src/dmr/Slot.cpp index d0bd20f2..140c40c3 100644 --- a/src/dmr/Slot.cpp +++ b/src/dmr/Slot.cpp @@ -564,7 +564,7 @@ void Slot::clock() /// void Slot::permittedTG(uint32_t dstId) { - if (!m_authoritative) { + if (m_authoritative) { return; } diff --git a/src/nxdn/Control.cpp b/src/nxdn/Control.cpp index 2174652e..be89e2d3 100644 --- a/src/nxdn/Control.cpp +++ b/src/nxdn/Control.cpp @@ -616,7 +616,7 @@ void Control::clock(uint32_t ms) /// void Control::permittedTG(uint32_t dstId) { - if (!m_authoritative) { + if (m_authoritative) { return; }