Compile fixes

This commit is contained in:
3djc
2019-10-01 07:58:52 +02:00
parent 8685e6c089
commit 8cf59887f7
+2
View File
@@ -844,6 +844,7 @@ void menuModelSetup(event_t event)
lcdDrawTextAtIndex(lcdNextPos + 3, y, STR_MULTI_PROTOCOLS, multi_rfProto, menuHorizontalPosition==1 ? attr : 0);
}
#endif
#if defined(PCBTARANIS)
if (attr && menuHorizontalPosition == 0) {
if (s_editMode > 0)
EXTERNAL_MODULE_OFF();
@@ -851,6 +852,7 @@ void menuModelSetup(event_t event)
if(g_model.moduleData[EXTERNAL_MODULE].type != MODULE_TYPE_NONE)
EXTERNAL_MODULE_ON();
}
#endif
if (attr) {
if (s_editMode > 0) {
switch (menuHorizontalPosition) {