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

CROSSFIRE module availability is based on sport sharing

This commit is contained in:
3djc 2019-05-20 13:42:51 +02:00
parent 1f7759dc6e
commit 0544846dc3

View file

@ -615,10 +615,7 @@ bool isExternalModuleAvailable(int moduleType)
}
#endif
#if defined(CROSSFIRE)
if (moduleType == MODULE_TYPE_CROSSFIRE && g_model.moduleData[INTERNAL_MODULE].type != MODULE_TYPE_NONE)
return false;
#else
#if !defined(CROSSFIRE)
if (moduleType == MODULE_TYPE_CROSSFIRE)
return false;
#endif