mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Companion bugfixes
This commit is contained in:
parent
96ddda7bef
commit
ef15ccf321
4 changed files with 12 additions and 5 deletions
|
@ -1576,10 +1576,16 @@ bool isAssignableFunctionAvailable(int function)
|
|||
|
||||
bool isModuleAvailable(int module)
|
||||
{
|
||||
#if defined(PCBSKY9X)
|
||||
if (module == MODULE_TYPE_NONE)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
#if !defined(PXX)
|
||||
if (module == MODULE_TYPE_XJT)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue