DISPLAY - Skip GPS page if GPS is not enabled.
This commit is contained in:
parent
9bcc0acd18
commit
9cc7a5aab1
|
@ -469,7 +469,11 @@ void updateDisplay(void)
|
|||
break;
|
||||
#ifdef GPS
|
||||
case PAGE_GPS:
|
||||
showGpsPage();
|
||||
if (feature(FEATURE_GPS)) {
|
||||
showGpsPage();
|
||||
} else {
|
||||
pageState.pageFlags |= PAGE_STATE_FLAG_FORCE_PAGE_CHANGE;
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
#ifdef ENABLE_DEBUG_OLED_PAGE
|
||||
|
|
Loading…
Reference in New Issue