1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 01:35:21 +03:00

Jumper T-Pro (#8792)

Co-authored-by: elecpower <neilh713@tpg.com.au>
This commit is contained in:
3djc 2022-01-06 16:55:24 +01:00 committed by GitHub
parent 586d8d9385
commit 902051c726
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 1298 additions and 59 deletions

View file

@ -290,7 +290,14 @@ char * getSwitchName(char * dest, swsrc_t idx)
}
else {
*dest++ = 'S';
#if defined(PCBX7) && !defined(RADIO_TX12) && !defined(RADIO_ZORRO) && !defined(RADIO_FAMILY_TBS)
#if defined(RADIO_TPRO)
if (swinfo.quot >= 4) {
*dest++ = 'W';
*dest++ = '1' + swinfo.quot - 4;
}
else
*dest++ = 'A' + swinfo.quot;
#elif defined(PCBX7) && !defined(RADIO_TX12) && !defined(RADIO_ZORRO) && !defined(RADIO_FAMILY_TBS)
if (swinfo.quot >= 5)
*dest++ = 'H' + swinfo.quot - 5;
else if (swinfo.quot == 4)