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:
commit
eaf410592b
@ -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
|
||||
/** @} */
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user