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

Compilation fix

This commit is contained in:
Bertrand Songis 2019-05-27 18:46:04 +02:00
parent 2aacfd2cca
commit 13e9c36f51
No known key found for this signature in database
GPG key ID: F189F79290FEC50F

View file

@ -532,6 +532,7 @@ bool isR9MModeAvailable(int mode)
}
#endif
#if defined(PXX2)
bool isPxx2IsrmChannelsCountAllowed(int channels)
{
if (g_model.moduleData[INTERNAL_MODULE].rfProtocol == MODULE_SUBTYPE_PXX1_ACCST_D16)
@ -539,6 +540,7 @@ bool isPxx2IsrmChannelsCountAllowed(int channels)
else
return (channels % 8 == 0);
}
#endif
bool isModuleUSingSport(uint8_t moduleBay, uint8_t moduleType)
{