mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-08-17 08:42:13 +08:00
+2
-2
@@ -4,7 +4,7 @@
|
||||
* @brief tCosyTick_Handler and sPendSV_Handler
|
||||
* @author 迟凯峰
|
||||
* @version v3.0.4
|
||||
* @date 2026.08.06
|
||||
* @date 2026.08.07
|
||||
******************************************************************************/
|
||||
|
||||
#include "os_var.h"
|
||||
@@ -525,7 +525,7 @@ __IAR_WEAK s_u8_t sPendSV_Handler(void) MCUCFG_OSIT_ATTRIBUTE
|
||||
|
||||
/* 每监控(每PendSV假定切换任务)*/
|
||||
#if (SYSCFG_DEBUGGING == __ENABLED__)
|
||||
if(true){
|
||||
if(s_task_current != OS_NULL){
|
||||
m_stacklen_t len = mTaskStack_Check0();
|
||||
if(s_task_current->stacklen_max < len){
|
||||
s_task_current->stacklen_max = len;
|
||||
|
||||
Reference in New Issue
Block a user