From f0801902947801d260cb985b74097cfce0591a48 Mon Sep 17 00:00:00 2001 From: Christoph Kottke Date: Wed, 8 Aug 2018 15:00:06 +0200 Subject: [PATCH] start idTimer fix #3 --- Common/APRSWriter.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Common/APRSWriter.cpp b/Common/APRSWriter.cpp index 279f4ab..a40f594 100644 --- a/Common/APRSWriter.cpp +++ b/Common/APRSWriter.cpp @@ -155,7 +155,14 @@ void CAPRSWriter::setPort(const wxString& callsign, const wxString& band, double bool CAPRSWriter::open() { - return m_thread->start(); + bool ret = m_thread->start(); + if(ret) { + sendIdFrames(); + m_idTimer.start(); + return ret; + } + + return false; } void CAPRSWriter::writeHeader(const wxString& callsign, const CHeaderData& header)