mirror of
https://github.com/opentx/opentx.git
synced 2025-07-15 20:35:17 +03:00
Bsongis/x7d fixes (#4019)
* [X7D] Various fixes [Others] - Fixes the Mixer / Inputs MOVE / COPY problem on X9E - Adds the copy/paste/rename feature in SDCARD menu on X7D/SKY9X - Merges some duplicated code using the new directory structure - Cosmetics
This commit is contained in:
parent
fd33cc9d2b
commit
bfb5e9b8a6
42 changed files with 1285 additions and 2188 deletions
|
@ -237,7 +237,16 @@ char * getSwitchString(char * dest, swsrc_t idx)
|
|||
}
|
||||
else {
|
||||
*s++ = 'S';
|
||||
#if defined(PCBX7D)
|
||||
if (swinfo.quot == 5)
|
||||
*s++ = 'H';
|
||||
else if (swinfo.quot == 4)
|
||||
*s++ = 'F';
|
||||
else
|
||||
*s++ = 'A'+swinfo.quot;
|
||||
#else
|
||||
*s++ = 'A'+swinfo.quot;
|
||||
#endif
|
||||
}
|
||||
*s++ = "\300-\301"[swinfo.rem];
|
||||
*s = '\0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue