Skip to content

Commit a3930d6

Browse files
author
guoqi
committed
更改touch跟刷新文件列表线程的优先级
1 parent 02e1c0d commit a3930d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/art_pi_nes/applications/touch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ int ft6236_init(void)
9292
LOG_I("range_x :%d", info.range_x);
9393
LOG_I("range_y :%d", info.range_y);
9494

95-
ft6236_thread = rt_thread_create("touch", ft6236_thread_entry, RT_NULL, 2048, 7, 20);
95+
ft6236_thread = rt_thread_create("touch", ft6236_thread_entry, RT_NULL, 2048, 3, 20);
9696
if (ft6236_thread == RT_NULL)
9797
{
9898
LOG_D("create ft6236 thread err");

projects/art_pi_nes/applications/ui_nes_list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ void ui_nes_list_enter(lv_obj_t *obj)
216216
ui_nes_sem = rt_sem_create("nes_list", 1, RT_IPC_FLAG_FIFO);
217217
if(!ui_nes_sem)
218218
return;
219-
ui_nes_tid = rt_thread_create("nes_list", ui_nes_list_thread_entry, NULL, 4096, 4, 10);
219+
ui_nes_tid = rt_thread_create("nes_list", ui_nes_list_thread_entry, NULL, 4096, 6, 10);
220220
if(ui_nes_tid)
221221
rt_thread_startup(ui_nes_tid);
222222
}

0 commit comments

Comments
 (0)