Small cleanups.

This commit is contained in:
Jonathan Naylor 2026-05-06 16:17:40 +01:00
parent b872587ea6
commit a32493b3e4
2 changed files with 4 additions and 2 deletions

View file

@ -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)

View file

@ -19,6 +19,6 @@
#if !defined(VERSION_H)
#define VERSION_H
const char* VERSION = "20260427";
const char* VERSION = "20260506";
#endif