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/gc9a01 | |
parent | d6c39490df2aa114b4fb0fba00b4c03b5ff3a405 (diff) |
[QP] Add ILI9488 support. (#17438)
Diffstat (limited to 'drivers/painter/gc9a01')
-rw-r--r-- | drivers/painter/gc9a01/qp_gc9a01.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/painter/gc9a01/qp_gc9a01.c b/drivers/painter/gc9a01/qp_gc9a01.c index ad76d58b07..37700a28a4 100644 --- a/drivers/painter/gc9a01/qp_gc9a01.c +++ b/drivers/painter/gc9a01/qp_gc9a01.c @@ -102,12 +102,11 @@ const struct tft_panel_dc_reset_painter_driver_vtable_t gc9a01_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 = GC9A01_CMD_DISPLAY_ON, |