mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
parent
586d8d9385
commit
902051c726
56 changed files with 1298 additions and 59 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue