R9M subtype selection fix

This commit is contained in:
Bertrand Songis
2019-06-06 13:20:44 +02:00
parent 330da5fe09
commit 8050d8df6e
-12
View File
@@ -511,7 +511,6 @@ bool isSourceAvailableInResetSpecialFunction(int index)
}
}
#if defined(PCBXLITE)
bool isR9MModeAvailable(int mode)
{
#if defined(R9M_PROTO_FLEX)
@@ -521,17 +520,6 @@ bool isR9MModeAvailable(int mode)
#endif
}
#else
bool isR9MModeAvailable(int mode)
{
#if defined(R9M_PROTO_FLEX)
return mode < MODULE_SUBTYPE_R9M_EUPLUS;
#else
return true;
#endif
}
#endif
#if defined(PXX2)
bool isPxx2IsrmChannelsCountAllowed(int channels)
{