Suppress DMR Roaming Beacon debug messages in simplex mode; refinement to PR #753 merge.

This commit is contained in:
Chipster 2022-12-05 08:38:06 -06:00
parent 2f1144a7d8
commit adb67ff698

View file

@ -1249,7 +1249,8 @@ int CMMDVMHost::run()
setMode(MODE_DMR); setMode(MODE_DMR);
dmrBeaconIntervalTimer.start(); dmrBeaconIntervalTimer.start();
dmrBeaconDurationTimer.start(); dmrBeaconDurationTimer.start();
LogDebug("sending DMR Roaming Beacon (timed mode)"); if (m_duplex)
LogDebug("sending DMR Roaming Beacon (timed mode)");
} }
} }
break; break;
@ -1261,7 +1262,8 @@ int CMMDVMHost::run()
if (!m_fixedMode && m_mode == MODE_IDLE) if (!m_fixedMode && m_mode == MODE_IDLE)
setMode(MODE_DMR); setMode(MODE_DMR);
dmrBeaconDurationTimer.start(); dmrBeaconDurationTimer.start();
LogDebug("sending DMR Roaming Beacon (network mode)"); if (m_duplex)
LogDebug("sending DMR Roaming Beacon (network mode)");
} }
} }
} }