mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
All references to "custom switches" renamed to "logical switches"
This commit is contained in:
parent
8c21462f74
commit
34e1a0ce86
11 changed files with 115 additions and 115 deletions
|
@ -1421,7 +1421,7 @@ bool isSourceAvailable(int source)
|
|||
}
|
||||
|
||||
if (source>=MIXSRC_SW1 && source<=MIXSRC_LAST_LOGICAL_SWITCH) {
|
||||
LogicalSwitchData * cs = cswAddress(source-MIXSRC_SW1);
|
||||
LogicalSwitchData * cs = lswAddress(source-MIXSRC_SW1);
|
||||
return (cs->func != LS_FUNC_NONE);
|
||||
}
|
||||
|
||||
|
@ -1526,7 +1526,7 @@ bool isSwitchAvailable(int swtch)
|
|||
}
|
||||
|
||||
if (swtch >= SWSRC_FIRST_LOGICAL_SWITCH && swtch <= SWSRC_LAST_LOGICAL_SWITCH) {
|
||||
LogicalSwitchData * cs = cswAddress(swtch-SWSRC_FIRST_LOGICAL_SWITCH);
|
||||
LogicalSwitchData * cs = lswAddress(swtch-SWSRC_FIRST_LOGICAL_SWITCH);
|
||||
return (cs->func != LS_FUNC_NONE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue