shields: st7789v: explicitly set RGB565 byte-swap

Explicitly set RGB565 byte-swap for st7789v_waveshare_240x240.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
Johann Fischer 2020-07-23 12:09:52 +02:00 committed by Maureen Helm
parent 9861e5d22a
commit 4a492bb55e

View file

@ -33,6 +33,13 @@ config LVGL_BITS_PER_PIXEL
default 24 if SHIELD_ST7789V_TL019FQV01
default 16 if SHIELD_ST7789V_WAVESHARE_240X240
choice LVGL_COLOR_DEPTH
default LVGL_COLOR_DEPTH_16 if SHIELD_ST7789V_WAVESHARE_240X240
endchoice
config LVGL_COLOR_16_SWAP
default y if SHIELD_ST7789V_WAVESHARE_240X240
endif # LVGL
endif # DISPLAY