mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-06 06:53:40 +00:00
Add Symbol= option to [APRS] stanza in config, to allow user to define APRS symbol. Backward-compat., and will default to the standard D& symbol (diamond with "D" overlay) if Symbol= is not defined.
This commit is contained in:
parent
71b42aad36
commit
508692a554
6 changed files with 26 additions and 7 deletions
|
|
@ -2528,8 +2528,9 @@ void CDMRGateway::createAPRS()
|
|||
m_writer = new CAPRSWriter(m_callsign, suffix, address, port, debug);
|
||||
|
||||
std::string desc = m_conf.getAPRSDescription();
|
||||
std::string symbol = m_conf.getAPRSSymbol();
|
||||
|
||||
m_writer->setInfo(m_txFrequency, m_rxFrequency, desc);
|
||||
m_writer->setInfo(m_txFrequency, m_rxFrequency, desc, symbol);
|
||||
|
||||
float latitude = m_conf.getInfoLatitude();
|
||||
float longitude = m_conf.getInfoLongitude();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue