Ver Fonte

Fixed an error that idle to display stop running| 修复了空闲线程显示停止运行的错误

guozhanxin há 7 anos atrás
pai
commit
63cead2177
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      SystemView_Src/Config/SEGGER_SYSVIEW_RTThread.c

+ 1 - 1
SystemView_Src/Config/SEGGER_SYSVIEW_RTThread.c

@@ -175,7 +175,7 @@ static void _cb_object_detach(struct rt_object* object)
     switch(object->type)
     {
     case RT_Object_Class_Thread:
-        SEGGER_SYSVIEW_OnTaskStopExec();
+        SEGGER_SYSVIEW_OnTaskTerminate((unsigned)object);
         break;
     default:
         break;