diff --git a/YSFGateway/APRSWriter.cpp b/YSFGateway/APRSWriter.cpp index 17dd779..cadbed9 100644 --- a/YSFGateway/APRSWriter.cpp +++ b/YSFGateway/APRSWriter.cpp @@ -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(); } diff --git a/YSFGateway/YSFGateway.cpp b/YSFGateway/YSFGateway.cpp index f9684a8..5b9d9c5 100644 --- a/YSFGateway/YSFGateway.cpp +++ b/YSFGateway/YSFGateway.cpp @@ -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);