fix: Always show GPS button in radio setup (#2732)
* fix: Always show GPS button in radio setup It is related to GPS telemetry, not internal GPS. This probably needs to implemented differently in the future. * de optimization (#2737) * de optimization since the GPS button is now displayed by default (#2732), the labels for the "Alarms" and "LCD" are much too long and thus GPS is pushed into a new line. This looks unattractive and is a waste of space * Update de.h * chore: Cleanup Co-authored-by: ParkerEde <ralf@krusecity.de>
This commit is contained in:
co-authored by
ParkerEde
parent
2ab1a9f725
commit
37b1b2ee28
@@ -545,7 +545,6 @@ class BacklightPage : public Page {
|
||||
}
|
||||
};
|
||||
|
||||
#if defined(INTERNAL_GPS)
|
||||
class GpsPage : public Page {
|
||||
public:
|
||||
GpsPage() :
|
||||
@@ -583,7 +582,6 @@ class GpsPage : public Page {
|
||||
line = body.newLine(&grid);
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
RadioSetupPage::RadioSetupPage():
|
||||
PageTab(STR_RADIO_SETUP, ICON_RADIO_SETUP)
|
||||
@@ -609,10 +607,8 @@ void RadioSetupPage::build(FormWindow * window)
|
||||
#endif
|
||||
{STR_ALARM, []() { new AlarmsPage(); }},
|
||||
{STR_BACKLIGHT_LABEL, []() { new BacklightPage(); }},
|
||||
#if defined(INTERNAL_GPS)
|
||||
{STR_GPS, [](){new GpsPage();}},
|
||||
#endif
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
#if defined(PWR_BUTTON_PRESS)
|
||||
|
||||
Reference in New Issue
Block a user