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

R9M subtype selection fix

This commit is contained in:
Bertrand Songis 2019-06-06 13:20:44 +02:00
parent 330da5fe09
commit 8050d8df6e
No known key found for this signature in database
GPG key ID: F189F79290FEC50F

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)
{