summaryrefslogtreecommitdiffstats
path: root/drivers/painter/ili9xxx/qp_ili9163.c
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-07-02 13:20:45 +1000
committerGitHub <noreply@github.com>2022-07-02 13:20:45 +1000
commitb67ae67687b00ffb11ef9c4652e7f7f77b0c7b6d (patch)
treea2ba13597a00ed95e8b10a2371f08bf65f1e4942 /drivers/painter/ili9xxx/qp_ili9163.c
parentd6c39490df2aa114b4fb0fba00b4c03b5ff3a405 (diff)
[QP] Add ILI9488 support. (#17438)
Diffstat (limited to 'drivers/painter/ili9xxx/qp_ili9163.c')
-rw-r--r--drivers/painter/ili9xxx/qp_ili9163.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/painter/ili9xxx/qp_ili9163.c b/drivers/painter/ili9xxx/qp_ili9163.c
index beaac0fbb5..14363c7d04 100644
--- a/drivers/painter/ili9xxx/qp_ili9163.c
+++ b/drivers/painter/ili9xxx/qp_ili9163.c
@@ -67,12 +67,11 @@ const struct tft_panel_dc_reset_painter_driver_vtable_t ili9163_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 = ILI9XXX_CMD_DISPLAY_ON,