From 72fcd64942ead9f501f8619fcab1a1fa770e7c83 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 26 Jan 2016 19:56:10 +0000 Subject: [PATCH] Network clock changes. --- DMRControl.cpp | 2 -- MMDVMHost.cpp | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/DMRControl.cpp b/DMRControl.cpp index 52e8058..0909223 100644 --- a/DMRControl.cpp +++ b/DMRControl.cpp @@ -93,8 +93,6 @@ void CDMRControl::clock(unsigned int ms) default: LogError("Invalid slot no %u", slotNo); break; } } - - m_network->clock(ms); } m_slot1.clock(ms); diff --git a/MMDVMHost.cpp b/MMDVMHost.cpp index 3129560..1487822 100644 --- a/MMDVMHost.cpp +++ b/MMDVMHost.cpp @@ -368,6 +368,10 @@ int CMMDVMHost::run() dmr->clock(ms); if (ysf != NULL) ysf->clock(ms); + if (m_dstarNetwork != NULL) + m_dstarNetwork->clock(ms); + if (m_dmrNetwork != NULL) + m_dmrNetwork->clock(ms); stopWatch.start(); dmrBeaconTimer.clock(ms);