fix: Some missing colorlcd gui if GPS on AUX1 (#1835)
* Radio Setup missing GPS items * Statistics missing GPS info
This commit is contained in:
committed by
Peter Feerick
parent
ddf011ff12
commit
85d60a94ed
@@ -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();
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user