1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

Companion bugfixes

This commit is contained in:
bsongis 2014-05-16 23:02:31 +02:00
parent 96ddda7bef
commit ef15ccf321
4 changed files with 12 additions and 5 deletions

View file

@ -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;
}