1
0
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:
Alexandre Abadie 2022-03-24 16:30:27 +01:00
parent f60c50634b
commit 7348315d01
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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