update System/os_handler.c.

Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
零中断延迟的RTOS
2025-12-18 09:14:30 +00:00
committed by Gitee
parent bb35c264e6
commit c71a178689
+2 -2
View File
@@ -4,7 +4,7 @@
* @brief tCosyTick_Handler and sPendSV_Handler
* @author 迟凯峰
* @version V2.1.0
* @date 2025.12.15
* @date 2025.12.18
******************************************************************************/
#include "os_var.h"
@@ -198,7 +198,7 @@ __IAR_WEAK void tCosyTick_Handler(void) MCUCFG_SYSTICK_ATTRIBUTE
}
#endif
/* 延时 */// 定时器链表中的任务状态:就绪、浮动、阻塞、挂起。
/* 任务定时器 */// 定时器链表中的任务状态:就绪、浮动、阻塞、挂起。
if(true){
s_timer_pointer = (s_timer_pointer + 1) & (OS_TIMESLOTNUM - 1UL);
htask = s_timer_list[s_timer_pointer];