From a32493b3e424b4cbc3eaa19f7323ac0b42e37f81 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Wed, 6 May 2026 16:17:40 +0100 Subject: [PATCH] Small cleanups. --- MMDVMHost.cpp | 4 +++- Version.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MMDVMHost.cpp b/MMDVMHost.cpp index 5161c15..3f47cac 100644 --- a/MMDVMHost.cpp +++ b/MMDVMHost.cpp @@ -724,7 +724,9 @@ int CMMDVMHost::run() // Tier III options if (trunking) { m_modem->setDMRShortLC(systemCode, controlChannel, registrationRequired); + setMode(MODE_DMR); + if (controlChannel) m_modem->writeDMRAloha(systemCode, registrationRequired, alternateSlot); } @@ -1679,7 +1681,7 @@ bool CMMDVMHost::createModem() m_modem->setRFParams(rxFrequency, rxOffset, txFrequency, txOffset, txDCOffset, rxDCOffset, rfLevel, pocsagFrequency); #if defined(USE_DMR) m_modem->setDMRParams(colorCode); - if(trunking) + if (trunking) m_modem->setDMRTrunkingParams(controlChannel); #endif #if defined(USE_YSF) diff --git a/Version.h b/Version.h index b39055c..1284cfd 100644 --- a/Version.h +++ b/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20260427"; +const char* VERSION = "20260506"; #endif