mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
OSD - Clarify display driver requirements.
This commit is contained in:
parent
2a9f0a50bb
commit
1f666add6c
1 changed files with 8 additions and 0 deletions
|
@ -60,7 +60,15 @@ typedef enum {
|
|||
} displayPortBackground_e;
|
||||
|
||||
typedef enum {
|
||||
// Display drivers that can perform screen clearing in the background, e.g. via DMA, should do so.
|
||||
// use `displayCheckReady` function to check if the screen clear has been completed.
|
||||
DISPLAY_CLEAR_NONE = 0,
|
||||
|
||||
// * when set, the display driver should block until the screen clear has completed, use in synchronous cases
|
||||
// only, e.g. where the screen is cleared and the display is immediately drawn to.
|
||||
// * when NOT set, return immediately and do not block unless screen is a simple operation or cannot
|
||||
// be performed in the background. As with any long delay, waiting can cause task starvation which
|
||||
// can result in RX loss.
|
||||
DISPLAY_CLEAR_WAIT = 1 << 0,
|
||||
} displayClearOption_e;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue