diff --git a/radio/src/gui/colorlcd/radio_setup.cpp b/radio/src/gui/colorlcd/radio_setup.cpp index 0b45429133b..dff0f5e8e91 100644 --- a/radio/src/gui/colorlcd/radio_setup.cpp +++ b/radio/src/gui/colorlcd/radio_setup.cpp @@ -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(); diff --git a/radio/src/gui/colorlcd/view_statistics.cpp b/radio/src/gui/colorlcd/view_statistics.cpp index 027506e0297..49b68151682 100644 --- a/radio/src/gui/colorlcd/view_statistics.cpp +++ b/radio/src/gui/colorlcd/view_statistics.cpp @@ -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(