Receivers shown even when using ACCST RF protocol

This commit is contained in:
Bertrand Songis
2019-07-16 11:19:58 +02:00
parent e0214ee51b
commit 1b2f6b52c2
7 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ inline bool isModulePXX2(uint8_t idx)
inline bool isModuleRFAccess(uint8_t idx)
{
if (isModuleISRM(idx)) {
return g_model.moduleData[idx].rfProtocol == MODULE_SUBTYPE_ISRM_PXX2_ACCESS;
return g_model.moduleData[idx].subType == MODULE_SUBTYPE_ISRM_PXX2_ACCESS;
}
else if (isModuleR9MAccess(idx)) {
return true;