Skip to content

Commit

Permalink
更改touch跟刷新文件列表线程的优先级
Browse files Browse the repository at this point in the history
  • Loading branch information
guoqi committed Apr 14, 2021
1 parent 02e1c0d commit a3930d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/art_pi_nes/applications/touch.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ int ft6236_init(void)
LOG_I("range_x :%d", info.range_x);
LOG_I("range_y :%d", info.range_y);

ft6236_thread = rt_thread_create("touch", ft6236_thread_entry, RT_NULL, 2048, 7, 20);
ft6236_thread = rt_thread_create("touch", ft6236_thread_entry, RT_NULL, 2048, 3, 20);
if (ft6236_thread == RT_NULL)
{
LOG_D("create ft6236 thread err");
Expand Down
2 changes: 1 addition & 1 deletion projects/art_pi_nes/applications/ui_nes_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ void ui_nes_list_enter(lv_obj_t *obj)
ui_nes_sem = rt_sem_create("nes_list", 1, RT_IPC_FLAG_FIFO);
if(!ui_nes_sem)
return;
ui_nes_tid = rt_thread_create("nes_list", ui_nes_list_thread_entry, NULL, 4096, 4, 10);
ui_nes_tid = rt_thread_create("nes_list", ui_nes_list_thread_entry, NULL, 4096, 6, 10);
if(ui_nes_tid)
rt_thread_startup(ui_nes_tid);
}
Expand Down

0 comments on commit a3930d6

Please sign in to comment.