diff options
author | David Hoelscher <infinityis@users.noreply.github.com> | 2023-01-14 04:24:54 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-14 21:24:54 +1100 |
commit | 45851a10f66119ceff3baadde27f68e287eff481 (patch) | |
tree | fe482cc85723cbf6a626ddb2f346d916f60ce29b /drivers/painter/st77xx | |
parent | 5873fbe5690a008548c258840b273d0712495ed4 (diff) |
Add RGB565 and RGB888 color support to Quantum Painter (#19382)
Diffstat (limited to 'drivers/painter/st77xx')
-rw-r--r-- | drivers/painter/st77xx/qp_st7735.c | 1 | ||||
-rw-r--r-- | drivers/painter/st77xx/qp_st7789.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/painter/st77xx/qp_st7735.c b/drivers/painter/st77xx/qp_st7735.c index 74145e0e4e..7ee5a6b562 100644 --- a/drivers/painter/st77xx/qp_st7735.c +++ b/drivers/painter/st77xx/qp_st7735.c @@ -93,6 +93,7 @@ const struct tft_panel_dc_reset_painter_driver_vtable_t st7735_driver_vtable = { .viewport = qp_tft_panel_viewport, .palette_convert = qp_tft_panel_palette_convert_rgb565_swapped, .append_pixels = qp_tft_panel_append_pixels_rgb565, + .append_pixdata = qp_tft_panel_append_pixdata, }, .num_window_bytes = 2, .swap_window_coords = false, diff --git a/drivers/painter/st77xx/qp_st7789.c b/drivers/painter/st77xx/qp_st7789.c index 905f6bb270..9f474369d6 100644 --- a/drivers/painter/st77xx/qp_st7789.c +++ b/drivers/painter/st77xx/qp_st7789.c @@ -92,6 +92,7 @@ const struct tft_panel_dc_reset_painter_driver_vtable_t st7789_driver_vtable = { .viewport = qp_tft_panel_viewport, .palette_convert = qp_tft_panel_palette_convert_rgb565_swapped, .append_pixels = qp_tft_panel_append_pixels_rgb565, + .append_pixdata = qp_tft_panel_append_pixdata, }, .num_window_bytes = 2, .swap_window_coords = false, |