From 101f2aa8c2997c47dfd95cefbb012cf50c39f651 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Sat, 13 Dec 2014 22:39:15 +0000 Subject: [PATCH] DISPLAY - Only show GPS page when using GPS passthrough. --- src/main/io/gps.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/io/gps.c b/src/main/io/gps.c index db742a795..8940dd5bd 100644 --- a/src/main/io/gps.c +++ b/src/main/io/gps.c @@ -984,6 +984,11 @@ gpsEnablePassthroughResult_e gpsEnablePassthrough(void) LED0_OFF; LED1_OFF; +#ifdef DISPLAY + if (feature(FEATURE_DISPLAY)) { + displayShowFixedPage(PAGE_GPS); + } +#endif char c; while(1) { if (serialTotalBytesWaiting(gpsPort)) {