mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-04-21 06:03:58 +00:00
Allow for an optional local Parrot entry.
This commit is contained in:
parent
6f6d27ebf3
commit
20485f5d02
8 changed files with 86 additions and 31 deletions
|
|
@ -205,6 +205,12 @@ int CYSFGateway::run()
|
|||
|
||||
m_wiresX->setInfo(name, txFrequency, rxFrequency);
|
||||
|
||||
std::string address = m_conf.getNetworkParrotAddress();
|
||||
unsigned int port = m_conf.getNetworkParrotPort();
|
||||
|
||||
if (port > 0U)
|
||||
m_wiresX->setParrot(address, port);
|
||||
|
||||
m_wiresX->start();
|
||||
|
||||
m_startup = m_conf.getNetworkStartup();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue