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

R9M continued

This commit is contained in:
3djc 2019-04-24 14:10:27 +02:00
parent c490b1abae
commit 2415cd8588
6 changed files with 12 additions and 44 deletions

View file

@ -530,13 +530,13 @@ bool isR9MModeAvailable(int mode)
#else
bool isR9MModeAvailable(int mode)
{
return mode <= MODULE_SUBTYPE_R9M_EUPLUS;
#if defined(MODULE_R9M_FLEX_FW)
return mode < MODULE_SUBTYPE_R9M_EUPLUS;
#else
return true;
#endif
}
#endif
bool isR9MMFlex(int module)
{
return g_model.moduleData[module].r9m.region == MODULE_R9M_REGION_FLEX;
}
bool isPXX2ChannelsCountAllowed(int channels)
{