Compilation fix

This commit is contained in:
Bertrand Songis
2019-05-27 18:46:04 +02:00
parent 2aacfd2cca
commit 13e9c36f51
+2
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)
{