1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #15428 from btcven/2020_11_11-lvgl-preemption

pkg/lvgl: set LVGL thread priority higher than main
This commit is contained in:
Alexandre Abadie 2020-11-13 11:58:06 +01:00 committed by GitHub
commit eaf410592b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -117,8 +117,8 @@
#define ILI9341_PARAM_CS LCD_CS
#define ILI9341_PARAM_DCX LCD_DC
#define ILI9341_PARAM_RST LCD_RST
#define ILi9341_PARAM_RGB 1
#define ILI9341_PARAM_INVERTED 1
#define ILi9341_PARAM_RGB 0
#define ILI9341_PARAM_INVERTED 0
#endif
/** @} */

View File

@ -19,7 +19,7 @@ LVGL_MEM_SIZE ?= 5U*1024U
# Engine settings
LVGL_INACTIVITY_PERIOD_MS ?= 5*MS_PER_SEC # 5s
LVGL_TASK_HANDLER_DELAY_US ?= 5*US_PER_MS # 5ms
LVGL_TASK_THREAD_PRIO ?= THREAD_PRIORITY_MAIN-1
LVGL_TASK_THREAD_PRIO ?= THREAD_PRIORITY_MAIN+1
# Set the CFLAGS variable accordingly
CFLAGS += -DLV_COLOR_DEPTH=$(LVGL_COLOR_DEPTH)