Skip to content

Commit

Permalink
drivers: display_dummy: implement display_flush
Browse files Browse the repository at this point in the history
Implements the `display_flush` API function, introduced in zephyrproject-rtos#79936.

Signed-off-by: Martin Stumpf <martin.stumpf@vected.de>
  • Loading branch information
mstumpf-vected committed Oct 17, 2024
1 parent ef75643 commit 0faeb8c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/display/display_dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ static int dummy_display_write(const struct device *dev, const uint16_t x,
return 0;
}

static int dummy_display_flush(const struct device *dev)
{
return 0;
}

static int dummy_display_blanking_off(const struct device *dev)
{
return 0;
Expand Down Expand Up @@ -110,6 +115,7 @@ static const struct display_driver_api dummy_display_api = {
.blanking_on = dummy_display_blanking_on,
.blanking_off = dummy_display_blanking_off,
.write = dummy_display_write,
.flush = dummy_display_flush,
.set_brightness = dummy_display_set_brightness,
.set_contrast = dummy_display_set_contrast,
.get_capabilities = dummy_display_get_capabilities,
Expand Down

0 comments on commit 0faeb8c

Please sign in to comment.