Compilation fix

This commit is contained in:
Bertrand Songis
2019-03-20 19:13:18 +01:00
parent fa36f7e0a1
commit 9ad54de528
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -918,7 +918,7 @@ void menuModelSetup(event_t event)
if (attr) g_model.noGlobalFunctions = !checkIncDecModel(event, !g_model.noGlobalFunctions, 0, 1);
break;
#if defined(PCBTARANIS)
#if defined(HARDWARE_INTERNAL_MODULE)
case ITEM_MODEL_INTERNAL_MODULE_LABEL:
lcdDrawTextAlignedLeft(y, TR_INTERNALRF);
break;
+2
View File
@@ -520,6 +520,7 @@ bool isPXX2ChannelsCountAllowed(int channels)
return (channels % 8 == 0);
}
#if defined(HARDWARE_INTERNAL_MODULE)
bool isInternalModuleAvailable(int module)
{
if (module == MODULE_TYPE_NONE)
@@ -537,6 +538,7 @@ bool isInternalModuleAvailable(int module)
return false;
}
#endif
bool isExternalModuleAvailable(int module)
{