DISPLAY - Only show GPS page when using GPS passthrough.
This commit is contained in:
parent
1a3069b627
commit
101f2aa8c2
|
@ -984,6 +984,11 @@ gpsEnablePassthroughResult_e gpsEnablePassthrough(void)
|
||||||
LED0_OFF;
|
LED0_OFF;
|
||||||
LED1_OFF;
|
LED1_OFF;
|
||||||
|
|
||||||
|
#ifdef DISPLAY
|
||||||
|
if (feature(FEATURE_DISPLAY)) {
|
||||||
|
displayShowFixedPage(PAGE_GPS);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
char c;
|
char c;
|
||||||
while(1) {
|
while(1) {
|
||||||
if (serialTotalBytesWaiting(gpsPort)) {
|
if (serialTotalBytesWaiting(gpsPort)) {
|
||||||
|
|
Loading…
Reference in New Issue