Compile fixes
This commit is contained in:
@@ -844,6 +844,7 @@ void menuModelSetup(event_t event)
|
|||||||
lcdDrawTextAtIndex(lcdNextPos + 3, y, STR_MULTI_PROTOCOLS, multi_rfProto, menuHorizontalPosition==1 ? attr : 0);
|
lcdDrawTextAtIndex(lcdNextPos + 3, y, STR_MULTI_PROTOCOLS, multi_rfProto, menuHorizontalPosition==1 ? attr : 0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(PCBTARANIS)
|
||||||
if (attr && menuHorizontalPosition == 0) {
|
if (attr && menuHorizontalPosition == 0) {
|
||||||
if (s_editMode > 0)
|
if (s_editMode > 0)
|
||||||
EXTERNAL_MODULE_OFF();
|
EXTERNAL_MODULE_OFF();
|
||||||
@@ -851,6 +852,7 @@ void menuModelSetup(event_t event)
|
|||||||
if(g_model.moduleData[EXTERNAL_MODULE].type != MODULE_TYPE_NONE)
|
if(g_model.moduleData[EXTERNAL_MODULE].type != MODULE_TYPE_NONE)
|
||||||
EXTERNAL_MODULE_ON();
|
EXTERNAL_MODULE_ON();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (attr) {
|
if (attr) {
|
||||||
if (s_editMode > 0) {
|
if (s_editMode > 0) {
|
||||||
switch (menuHorizontalPosition) {
|
switch (menuHorizontalPosition) {
|
||||||
|
|||||||
Reference in New Issue
Block a user