mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 08:15:17 +03:00
Inputs / Mixers screens rearrangement / bugfixes
This commit is contained in:
parent
47b79b16ba
commit
8c59a196c7
22 changed files with 98 additions and 92 deletions
|
@ -1372,7 +1372,7 @@ bool isSourceAvailable(int source)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (source>=MIXSRC_SW1 && source<=MIXSRC_LAST_CSW) {
|
||||
if (source>=MIXSRC_SW1 && source<=MIXSRC_LAST_LOGICAL_SWITCH) {
|
||||
LogicalSwitchData * cs = cswAddress(source-MIXSRC_SW1);
|
||||
return (cs->func != LS_FUNC_NONE);
|
||||
}
|
||||
|
@ -1421,7 +1421,7 @@ bool isInputSourceAvailable(int source)
|
|||
if (source>=MIXSRC_FIRST_CH && source<=MIXSRC_LAST_CH)
|
||||
return true;
|
||||
|
||||
if (source>=MIXSRC_FIRST_PPM && source<=MIXSRC_LAST_PPM)
|
||||
if (source>=MIXSRC_FIRST_TRAINER && source<=MIXSRC_LAST_TRAINER)
|
||||
return true;
|
||||
|
||||
if (source>=MIXSRC_FIRST_TELEM && source<=MIXSRC_LAST_TELEM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue