fix: Some missing colorlcd gui if GPS on AUX1 (#1835)

* Radio Setup missing GPS items
* Statistics missing GPS info
This commit is contained in:
Bryan Mayland
2022-04-16 13:25:15 +10:00
committed by Peter Feerick
parent ddf011ff12
commit 85d60a94ed
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -411,7 +411,7 @@ void RadioSetupPage::build(FormWindow * window)
#if defined(INTERNAL_GPS)
// GPS
if (hasSerialMode(UART_MODE_GPS)) {
if (hasSerialMode(UART_MODE_GPS) != -1) {
new Subtitle(window, grid.getLabelSlot(), STR_GPS, 0, COLOR_THEME_PRIMARY1);
grid.nextLine();
+1 -1
View File
@@ -240,7 +240,7 @@ void DebugViewPage::build(FormWindow *window)
#endif
#if defined(INTERNAL_GPS)
if (hasSerialMode(UART_MODE_GPS)) {
if (hasSerialMode(UART_MODE_GPS) != -1) {
new StaticText(window, grid.getLabelSlot(), STR_INT_GPS_LABEL, 0,
COLOR_THEME_PRIMARY1);
new DynamicText(