Skip to content

Commit

Permalink
fix: 缺失luat_rtos_task_sleep导致gui版本编译失败
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Nov 8, 2023
1 parent c98062c commit 808ad32
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions port/rtos/luat_rtos_timer_pc.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,10 @@ int luat_rtos_timer_stop(luat_rtos_timer_t timer_handle)
return 0;
}



void luat_rtos_task_sleep(uint32_t ms) {
if (ms > 0) {
uv_sleep(ms);
}
}

0 comments on commit 808ad32

Please sign in to comment.