1
0
Fork 0

Small MobileGPS code cleanups.

ycs232-kbc
Jonathan Naylor 6 years ago
parent f17d7a65a6
commit 7dc7c820c0

@ -262,8 +262,6 @@ void CAPRSWriter::sendIdFrameFixed()
float(m_height) * 3.28F, band, desc);
m_thread->write(output);
m_idTimer.start();
}
void CAPRSWriter::sendIdFrameMobile()
@ -356,6 +354,4 @@ void CAPRSWriter::sendIdFrameMobile()
::sprintf(output + ::strlen(output), "/A=%06.0f%s %s", float(rawAltitude) * 3.28F, band, desc);
m_thread->write(output);
m_idTimer.start();
}

@ -433,12 +433,12 @@ void CYSFGateway::createGPS()
unsigned int port = m_conf.getAPRSPort();
std::string password = m_conf.getAPRSPassword();
std::string suffix = m_conf.getAPRSSuffix();
std::string desc = m_conf.getAPRSDescription();
m_writer = new CAPRSWriter(m_callsign, m_suffix, password, hostname, port, suffix);
unsigned int txFrequency = m_conf.getTxFrequency();
unsigned int rxFrequency = m_conf.getRxFrequency();
std::string desc = m_conf.getAPRSDescription();
m_writer->setInfo(txFrequency, rxFrequency, desc);

Loading…
Cancel
Save