mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-23 23:05:38 +08: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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user