Commit 742170d
modules: lvgl: handle byte-swapped RGB565 displays
Displays that advertise PIXEL_FORMAT_RGB_565X need LVGL to render
RGB565 pixels in byte-swapped order. Treating RGB_565X like native
RGB_565 makes non-palindromic colors decode as the wrong hue on the
panel.
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
Co-authored-by: Carlo Caione <ccaione@baylibre.com>1 parent d3f409d commit 742170d
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
| |||
0 commit comments