mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
DISPLAY - Only show GPS page when using GPS passthrough.
This commit is contained in:
parent
1a3069b627
commit
101f2aa8c2
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue