diff options
author | Nick Brassel <nick@tzarc.org> | 2022-07-02 13:20:45 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-02 13:20:45 +1000 |
commit | b67ae67687b00ffb11ef9c4652e7f7f77b0c7b6d (patch) | |
tree | a2ba13597a00ed95e8b10a2371f08bf65f1e4942 /drivers/painter/st77xx | |
parent | d6c39490df2aa114b4fb0fba00b4c03b5ff3a405 (diff) |
[QP] Add ILI9488 support. (#17438)
Diffstat (limited to 'drivers/painter/st77xx')
-rw-r--r-- | drivers/painter/st77xx/qp_st7789.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/painter/st77xx/qp_st7789.c b/drivers/painter/st77xx/qp_st7789.c index d005ece050..49e8436c29 100644 --- a/drivers/painter/st77xx/qp_st7789.c +++ b/drivers/painter/st77xx/qp_st7789.c @@ -90,12 +90,11 @@ const struct tft_panel_dc_reset_painter_driver_vtable_t st7789_driver_vtable = { .flush = qp_tft_panel_flush, .pixdata = qp_tft_panel_pixdata, .viewport = qp_tft_panel_viewport, - .palette_convert = qp_tft_panel_palette_convert, - .append_pixels = qp_tft_panel_append_pixels, + .palette_convert = qp_tft_panel_palette_convert_rgb565_swapped, + .append_pixels = qp_tft_panel_append_pixels_rgb565, }, - .rgb888_to_native16bit = qp_rgb888_to_rgb565_swapped, - .num_window_bytes = 2, - .swap_window_coords = false, + .num_window_bytes = 2, + .swap_window_coords = false, .opcodes = { .display_on = ST77XX_CMD_DISPLAY_ON, |