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)
|
#if defined(INTERNAL_GPS)
|
||||||
// GPS
|
// GPS
|
||||||
if (hasSerialMode(UART_MODE_GPS)) {
|
if (hasSerialMode(UART_MODE_GPS) != -1) {
|
||||||
new Subtitle(window, grid.getLabelSlot(), STR_GPS, 0, COLOR_THEME_PRIMARY1);
|
new Subtitle(window, grid.getLabelSlot(), STR_GPS, 0, COLOR_THEME_PRIMARY1);
|
||||||
grid.nextLine();
|
grid.nextLine();
|
||||||
|
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ void DebugViewPage::build(FormWindow *window)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(INTERNAL_GPS)
|
#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,
|
new StaticText(window, grid.getLabelSlot(), STR_INT_GPS_LABEL, 0,
|
||||||
COLOR_THEME_PRIMARY1);
|
COLOR_THEME_PRIMARY1);
|
||||||
new DynamicText(
|
new DynamicText(
|
||||||
|
|||||||
Reference in New Issue
Block a user