Reinstated the location field.

This commit is contained in:
Jonathan Naylor
2020-08-26 12:13:34 +01:00
parent a9c9ff6011
commit 98879b5c14
9 changed files with 40 additions and 16 deletions

View File

@@ -1345,14 +1345,16 @@ bool CMMDVMHost::createDMRNetwork()
unsigned int txFrequency = m_conf.getTXFrequency();
unsigned int power = m_conf.getPower();
unsigned int colorCode = m_conf.getDMRColorCode();
std::string location = m_conf.getLocation();
LogInfo("RF Parameters");
LogInfo("Info Parameters");
LogInfo(" Callsign: %s", m_callsign.c_str());
LogInfo(" RX Frequency: %uHz", rxFrequency);
LogInfo(" TX Frequency: %uHz", txFrequency);
LogInfo(" Power: %uW", power);
LogInfo(" Location: \"%s\"", location.c_str());
m_dmrNetwork->setConfig(m_callsign, rxFrequency, txFrequency, power, colorCode);
m_dmrNetwork->setConfig(m_callsign, rxFrequency, txFrequency, power, colorCode, location);
bool ret = m_dmrNetwork->open();
if (!ret) {