update System/sv_tick.c.

Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
零中断延迟的RTOS
2024-12-30 11:04:38 +00:00
committed by Gitee
parent cb4552cefb
commit d930e57bc9
+4 -3
View File
@@ -5,8 +5,8 @@
* @details 仅在 SysTick 中调用并执行,包括在滴答钩子、定时中断钩子、
定时查询钩子、定时查询事件等处调用。
* @author 迟凯峰
* @version V3.3.0
* @date 2024.12.25
* @version V3.3.1
* @date 2024.12.30
******************************************************************************/
#include "os_var.h"
@@ -29,7 +29,8 @@
*/
s_bool_t st_clear_delay(void) MCUCFG_C51USING
{
if(s_sign_schedule_forbid){
if(s_sign_ready_delay){
s_sign_ready_delay = false;
s_task_current->timer = 0;
return true;
}