From dee62db7cd6191e319eb9ef6405cd0a3adc4e8f6 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 22 Sep 2021 19:59:30 +0100 Subject: [PATCH] Add FT-5R to the list of supported radios + icon Add non-default APRS icon for the FTM-300D and DR-2X. --- YSFGateway/APRSWriter.cpp | 3 +++ YSFGateway/GPS.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/YSFGateway/APRSWriter.cpp b/YSFGateway/APRSWriter.cpp index 64cb787..d30438c 100644 --- a/YSFGateway/APRSWriter.cpp +++ b/YSFGateway/APRSWriter.cpp @@ -158,12 +158,15 @@ void CAPRSWriter::write(const unsigned char* source, const char* type, unsigned case 0x24U: case 0x28U: case 0x30U: + case 0x33U: symbol = '['; break; case 0x25U: case 0x29U: + case 0x31U: symbol = '>'; break; + case 0x20U: case 0x26U: symbol = 'r'; break; diff --git a/YSFGateway/GPS.cpp b/YSFGateway/GPS.cpp index 50cf2d4..9e06ba6 100644 --- a/YSFGateway/GPS.cpp +++ b/YSFGateway/GPS.cpp @@ -270,6 +270,9 @@ void CGPS::transmitGPS(const unsigned char* source) case 0x30U: ::strcpy(radio, "FT-3D"); break; + case 0x33U: + ::strcpy(radio, "FT-5D"); + break; default: ::sprintf(radio, "0x%02X", m_buffer[4U]); break;