display: Added double buffer screen info to display API
Extend display API screen info with double buffer enum entry. Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
This commit is contained in:
parent
a26fe1e2f4
commit
49ffca4553
2 changed files with 6 additions and 1 deletions
|
@ -334,7 +334,8 @@ static void ssd1673_get_capabilities(const struct device *dev,
|
|||
caps->current_pixel_format = PIXEL_FORMAT_MONO10;
|
||||
caps->screen_info = SCREEN_INFO_MONO_VTILED |
|
||||
SCREEN_INFO_MONO_MSB_FIRST |
|
||||
SCREEN_INFO_EPD;
|
||||
SCREEN_INFO_EPD |
|
||||
SCREEN_INFO_DOUBLE_BUFFER;
|
||||
}
|
||||
|
||||
static int ssd1673_set_orientation(const struct device *dev,
|
||||
|
|
|
@ -49,6 +49,10 @@ enum display_screen_info {
|
|||
* Electrophoretic Display.
|
||||
*/
|
||||
SCREEN_INFO_EPD = BIT(2),
|
||||
/**
|
||||
* Screen has two alternating ram buffers
|
||||
*/
|
||||
SCREEN_INFO_DOUBLE_BUFFER = BIT(3),
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue