mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-27 11:43:43 +08:00
fix(rt-thread): fix create lvgl thread problem (#4246)
This commit is contained in:
parent
0a62fd692e
commit
84a7163eba
@ -69,7 +69,7 @@ static int lvgl_thread_init(void)
|
|||||||
rt_err_t err;
|
rt_err_t err;
|
||||||
|
|
||||||
err = rt_thread_init(&lvgl_thread, "LVGL", lvgl_thread_entry, RT_NULL,
|
err = rt_thread_init(&lvgl_thread, "LVGL", lvgl_thread_entry, RT_NULL,
|
||||||
&lvgl_thread_stack[0], sizeof(lvgl_thread_stack), PKG_LVGL_THREAD_PRIO, 0);
|
&lvgl_thread_stack[0], sizeof(lvgl_thread_stack), PKG_LVGL_THREAD_PRIO, 10);
|
||||||
if(err != RT_EOK)
|
if(err != RT_EOK)
|
||||||
{
|
{
|
||||||
LOG_E("Failed to create LVGL thread");
|
LOG_E("Failed to create LVGL thread");
|
||||||
|
Loading…
Reference in New Issue
Block a user