From 686134060d17b929c8d2a0497b936cc157cde2e8 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Wed, 12 Jan 2022 22:31:44 +0100 Subject: [PATCH] #9 clean up --- APRSCollector.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/APRSCollector.cpp b/APRSCollector.cpp index 99fda5f..afba4d0 100644 --- a/APRSCollector.cpp +++ b/APRSCollector.cpp @@ -30,13 +30,6 @@ #include "RSMS1AMessageCollector.h" #include "SlowDataCollectorThrottle.h" -const unsigned int APRS_CSUM_LENGTH = 4U; -const unsigned int APRS_DATA_LENGTH = 300U; -const unsigned int SLOW_DATA_BLOCK_LENGTH = 6U; - -const char APRS_OVERLAY = '\\'; -const char APRS_SYMBOL = 'K'; - CAPRSCollector::CAPRSCollector() : m_collectors() { @@ -68,6 +61,7 @@ void CAPRSCollector::writeHeader(const std::string& callsign) bool CAPRSCollector::writeData(const unsigned char* data) { bool ret = false; + for(auto collector : m_collectors) { bool ret2 = collector->writeData(data); ret = ret || ret2;