From adb67ff6988a809c9d6063dd41e80a75434f76b8 Mon Sep 17 00:00:00 2001 From: Chipster Date: Mon, 5 Dec 2022 08:38:06 -0600 Subject: [PATCH] Suppress DMR Roaming Beacon debug messages in simplex mode; refinement to PR #753 merge. --- MMDVMHost.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MMDVMHost.cpp b/MMDVMHost.cpp index a5ce54a0..6f41f10a 100644 --- a/MMDVMHost.cpp +++ b/MMDVMHost.cpp @@ -1249,7 +1249,8 @@ int CMMDVMHost::run() setMode(MODE_DMR); dmrBeaconIntervalTimer.start(); dmrBeaconDurationTimer.start(); - LogDebug("sending DMR Roaming Beacon (timed mode)"); + if (m_duplex) + LogDebug("sending DMR Roaming Beacon (timed mode)"); } } break; @@ -1261,7 +1262,8 @@ int CMMDVMHost::run() if (!m_fixedMode && m_mode == MODE_IDLE) setMode(MODE_DMR); dmrBeaconDurationTimer.start(); - LogDebug("sending DMR Roaming Beacon (network mode)"); + if (m_duplex) + LogDebug("sending DMR Roaming Beacon (network mode)"); } } }