DISPLAY - Only show GPS page when using GPS passthrough.

This commit is contained in:
Dominic Clifton 2014-12-13 22:39:15 +00:00
parent 1a3069b627
commit 101f2aa8c2
1 changed files with 5 additions and 0 deletions

View File

@ -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)) {