From 6f93f02e883005bd8841091df6e5690eb26be359 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 6 Apr 2008 09:36:48 +0000 Subject: [PATCH] Added traceTASK_SWITCHED_OUT macro. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@295 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/include/FreeRTOS.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/include/FreeRTOS.h b/Source/include/FreeRTOS.h index c04346124..6c47cc0b4 100644 --- a/Source/include/FreeRTOS.h +++ b/Source/include/FreeRTOS.h @@ -180,6 +180,12 @@ #define traceTASK_SWITCHED_IN() #endif +#ifndef traceTASK_SWITCHED_OUT + /* Called before a task has been selected to run. pxCurrentTCB holds a pointer + to the task control block of the task being switched out. */ + #define traceTASK_SWITCHED_OUT() +#endif + #ifndef traceBLOCKING_ON_QUEUE_RECEIVE /* Task is about to block because it cannot read from a queue/mutex/semaphore. pxQueue is a pointer to the queue/mutex/semaphore -- 2.39.5