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); if (attr) g_model.noGlobalFunctions = !checkIncDecModel(event, !g_model.noGlobalFunctions, 0, 1);
break; break;
#if defined(PCBTARANIS) #if defined(HARDWARE_INTERNAL_MODULE)
case ITEM_MODEL_INTERNAL_MODULE_LABEL: case ITEM_MODEL_INTERNAL_MODULE_LABEL:
lcdDrawTextAlignedLeft(y, TR_INTERNALRF); lcdDrawTextAlignedLeft(y, TR_INTERNALRF);
break; break;
+2
View File
@@ -520,6 +520,7 @@ bool isPXX2ChannelsCountAllowed(int channels)
return (channels % 8 == 0); return (channels % 8 == 0);
} }
#if defined(HARDWARE_INTERNAL_MODULE)
bool isInternalModuleAvailable(int module) bool isInternalModuleAvailable(int module)
{ {
if (module == MODULE_TYPE_NONE) if (module == MODULE_TYPE_NONE)
@@ -537,6 +538,7 @@ bool isInternalModuleAvailable(int module)
return false; return false;
} }
#endif
bool isExternalModuleAvailable(int module) bool isExternalModuleAvailable(int module)
{ {