mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
parent
6d29faa48b
commit
5bf197439a
55 changed files with 2435 additions and 164 deletions
|
@ -551,6 +551,7 @@ bool isModuleUsingSport(uint8_t moduleBay, uint8_t moduleType)
|
|||
case MODULE_TYPE_ISRM_PXX2:
|
||||
case MODULE_TYPE_R9M_LITE_PXX2:
|
||||
case MODULE_TYPE_R9M_LITE_PRO_PXX2:
|
||||
case MODULE_TYPE_AFHDS3:
|
||||
return false;
|
||||
|
||||
case MODULE_TYPE_XJT_PXX1:
|
||||
|
@ -663,6 +664,11 @@ bool isExternalModuleAvailable(int moduleType)
|
|||
return false;
|
||||
#endif
|
||||
|
||||
#if !defined(AFHDS3)
|
||||
if (moduleType == MODULE_TYPE_AFHDS3)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -708,6 +714,12 @@ bool isTelemetryProtocolAvailable(int protocol)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if !defined(AFHDS3)
|
||||
if (protocol == PROTOCOL_TELEMETRY_AFHDS3) {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
if (protocol == PROTOCOL_TELEMETRY_FRSKY_D_SECONDARY) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue