1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-16 04:45:17 +03:00

[Taranis] LR12 is now EU compatible (ported from master ce3d5dbac)

This commit is contained in:
Damjan Adamic 2015-12-20 16:54:18 +01:00
parent 493130504b
commit e8983250ca
6 changed files with 18 additions and 17 deletions

View file

@ -415,6 +415,16 @@ bool isModuleAvailable(int module)
return true;
}
bool isRfProtocolAvailable(int protocol)
{
#if defined(MODULE_D16_EU_ONLY_SUPPORT)
if (protocol == RF_PROTO_D8) {
return false;
}
#endif
return true;
}
bool modelHasNotes()
{
char filename[sizeof(MODELS_PATH)+1+sizeof(g_model.header.name)+sizeof(TEXT_EXT)] = MODELS_PATH "/";