Merge pull request #272 from f1rmb/add_yeasu_ft5d_and_missing_transceivers

Add FT-5R to the list of supported radios + icon
This commit is contained in:
Jonathan Naylor 2021-09-22 21:53:35 +01:00 committed by GitHub
commit 04d4c91f7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -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;

View file

@ -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;