mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 06:53:42 +00:00
Add the repeater callsign to the FM start message.
This commit is contained in:
parent
474e9fdbb7
commit
e12b2b9994
5 changed files with 25 additions and 15 deletions
|
|
@ -2230,6 +2230,7 @@ bool CMMDVMHost::createPOCSAGNetwork()
|
|||
#if defined(USE_FM)
|
||||
bool CMMDVMHost::createFMNetwork()
|
||||
{
|
||||
std::string callsign = m_conf.getFMCallsign();
|
||||
std::string gatewayAddress = m_conf.getFMGatewayAddress();
|
||||
unsigned short gatewayPort = m_conf.getFMGatewayPort();
|
||||
std::string localAddress = m_conf.getFMLocalAddress();
|
||||
|
|
@ -2252,7 +2253,7 @@ bool CMMDVMHost::createFMNetwork()
|
|||
LogInfo(" RX Audio Gain: %.2f", rxAudioGain);
|
||||
LogInfo(" Mode Hang: %us", m_fmNetModeHang);
|
||||
|
||||
m_fmNetwork = new CFMNetwork(localAddress, localPort, gatewayAddress, gatewayPort, debug);
|
||||
m_fmNetwork = new CFMNetwork(callsign, localAddress, localPort, gatewayAddress, gatewayPort, debug);
|
||||
|
||||
bool ret = m_fmNetwork->open();
|
||||
if (!ret) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue