Only display RAS for XJT modules (#4869)

This commit is contained in:
3djc
2017-04-29 09:10:15 +02:00
committed by Andre Bernet
parent 0cff67e032
commit a58a541bb6
3 changed files with 12 additions and 8 deletions
+4 -2
View File
@@ -178,8 +178,10 @@ bool menuStatsAnalogs(event_t event)
}
// SWR
lcdDrawText(MENUS_MARGIN_LEFT, MENU_CONTENT_TOP+7*FH, "RAS");
lcdDrawNumber(MENUS_MARGIN_LEFT+100, MENU_CONTENT_TOP+7*FH, telemetryData.swr.value);
if((IS_MODULE_XJT(INTERNAL_MODULE) && IS_INTERNAL_MODULE_ON()) || (IS_MODULE_XJT(EXTERNAL_MODULE) && !IS_INTERNAL_MODULE_ON())) {
lcdDrawText(MENUS_MARGIN_LEFT, MENU_CONTENT_TOP+7*FH, "RAS");
lcdDrawNumber(MENUS_MARGIN_LEFT+100, MENU_CONTENT_TOP+7*FH, telemetryData.swr.value);
}
return true;
}