mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Fixed the MAX7456 loop time problems introduced by #9948.
This commit is contained in:
parent
1fbd113204
commit
cfc89c98a8
18 changed files with 118 additions and 96 deletions
|
@ -797,6 +797,10 @@ void cmsMenuOpen(void)
|
|||
}
|
||||
}
|
||||
displayGrab(pCurrentDisplay); // grab the display for use by the CMS
|
||||
// FIXME this should probably not have a dependency on the OSD or OSD slave code
|
||||
#ifdef USE_OSD
|
||||
resumeRefreshAt = 0;
|
||||
#endif
|
||||
|
||||
if ( pCurrentDisplay->cols < NORMAL_SCREEN_MIN_COLS) {
|
||||
smallScreen = true;
|
||||
|
@ -875,7 +879,8 @@ const void *cmsMenuExit(displayPort_t *pDisplay, const void *ptr)
|
|||
displayClearScreen(pDisplay);
|
||||
displayWrite(pDisplay, 5, 3, DISPLAYPORT_ATTR_NONE, "REBOOTING...");
|
||||
|
||||
displayResync(pDisplay); // Was max7456RefreshAll(); why at this timing?
|
||||
// Flush display
|
||||
displayRedraw(pDisplay);
|
||||
|
||||
stopMotors();
|
||||
motorShutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue