mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:32:45 +01:00
pkg/lvgl: enable color swap with LCD generic driver
This commit is contained in:
parent
f60c50634b
commit
7348315d01
@ -42,7 +42,7 @@ extern "C" {
|
||||
/* Swap the 2 bytes of RGB565 color.
|
||||
* Useful if the display has a 8 bit interface (e.g. SPI)*/
|
||||
#ifndef LV_COLOR_16_SWAP
|
||||
#if IS_USED(MODULE_ILI9341)
|
||||
#if IS_USED(MODULE_LCD)
|
||||
#define LV_COLOR_16_SWAP 1
|
||||
#else
|
||||
#define LV_COLOR_16_SWAP 0
|
||||
|
Loading…
Reference in New Issue
Block a user