mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Track state execution time for OSD, baro, rx and GPS tasks and inform scheduler of next state execution time
This commit is contained in:
parent
a63172cc1f
commit
ab1baccc66
44 changed files with 1392 additions and 721 deletions
|
@ -38,9 +38,10 @@ void displayClearScreen(displayPort_t *instance)
|
|||
instance->cursorRow = -1;
|
||||
}
|
||||
|
||||
void displayDrawScreen(displayPort_t *instance)
|
||||
// Return true if screen still being transferred
|
||||
bool displayDrawScreen(displayPort_t *instance)
|
||||
{
|
||||
instance->vTable->drawScreen(instance);
|
||||
return instance->vTable->drawScreen(instance);
|
||||
}
|
||||
|
||||
int displayScreenSize(const displayPort_t *instance)
|
||||
|
@ -103,9 +104,9 @@ bool displayIsSynced(const displayPort_t *instance)
|
|||
return instance->vTable->isSynced(instance);
|
||||
}
|
||||
|
||||
void displayHeartbeat(displayPort_t *instance)
|
||||
bool displayHeartbeat(displayPort_t *instance)
|
||||
{
|
||||
instance->vTable->heartbeat(instance);
|
||||
return instance->vTable->heartbeat(instance);
|
||||
}
|
||||
|
||||
void displayRedraw(displayPort_t *instance)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue