1
0
Fork 0

Merge pull request #272 from f1rmb/add_yeasu_ft5d_and_missing_transceivers

Add FT-5R to the list of supported radios + icon
master
Jonathan Naylor 3 years ago committed by GitHub
commit 04d4c91f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -158,12 +158,15 @@ void CAPRSWriter::write(const unsigned char* source, const char* type, unsigned
case 0x24U: case 0x24U:
case 0x28U: case 0x28U:
case 0x30U: case 0x30U:
case 0x33U:
symbol = '['; symbol = '[';
break; break;
case 0x25U: case 0x25U:
case 0x29U: case 0x29U:
case 0x31U:
symbol = '>'; symbol = '>';
break; break;
case 0x20U:
case 0x26U: case 0x26U:
symbol = 'r'; symbol = 'r';
break; break;

@ -270,6 +270,9 @@ void CGPS::transmitGPS(const unsigned char* source)
case 0x30U: case 0x30U:
::strcpy(radio, "FT-3D"); ::strcpy(radio, "FT-3D");
break; break;
case 0x33U:
::strcpy(radio, "FT-5D");
break;
default: default:
::sprintf(radio, "0x%02X", m_buffer[4U]); ::sprintf(radio, "0x%02X", m_buffer[4U]);
break; break;

Loading…
Cancel
Save