1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Avoid resetting page cycle index when re-enabling page cycling so that

it is possible to stop on a page, inspect it, and then resume cycling at
the point that it was stopped.
This commit is contained in:
Dominic Clifton 2015-02-22 14:42:43 +00:00
parent 4a1b27443f
commit b4e4684ac7
3 changed files with 7 additions and 0 deletions

View file

@ -398,6 +398,7 @@ void init(void)
#ifdef USE_OLED_GPS_DEBUG_PAGE_ONLY
displayShowFixedPage(PAGE_GPS);
#else
displayResetPageCycling();
displayEnablePageCycling();
#endif
}