fix(rt-thread): fix create lvgl thread problem (#4246)

This commit is contained in:
Rbb666 2023-05-29 22:23:27 +08:00 committed by GitHub
parent 0a62fd692e
commit 84a7163eba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");