From 487308f523a73c6c81c5a18ba343a41be9ad6c7a Mon Sep 17 00:00:00 2001 From: Scott Weis KB2EAR Date: Sun, 9 Feb 2020 12:40:52 -0500 Subject: [PATCH] Add support for FT-3D GPS --- YSFGateway/APRSWriter.cpp | 1 + YSFGateway/GPS.cpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/YSFGateway/APRSWriter.cpp b/YSFGateway/APRSWriter.cpp index 07131fa..ae64aef 100644 --- a/YSFGateway/APRSWriter.cpp +++ b/YSFGateway/APRSWriter.cpp @@ -139,6 +139,7 @@ void CAPRSWriter::write(const unsigned char* source, const char* type, unsigned switch (radio) { case 0x24U: case 0x28U: + case 0x30U: symbol = '['; break; case 0x25U: diff --git a/YSFGateway/GPS.cpp b/YSFGateway/GPS.cpp index ed6911d..32e129d 100644 --- a/YSFGateway/GPS.cpp +++ b/YSFGateway/GPS.cpp @@ -256,6 +256,9 @@ void CGPS::transmitGPS(const unsigned char* source) case 0x29U: ::strcpy(radio, "FTM-100D"); break; + case 0x30U: + ::strcpy(radio, "FT-3D"); + break; default: ::sprintf(radio, "0x%02X", m_buffer[4U]); break;