From 06e8e93eb55d5d5b25c886d386fc60849cae51e8 Mon Sep 17 00:00:00 2001
From: Richard Barry <ribarry@amazon.com>
Date: Sun, 6 Apr 2008 09:36:48 +0000
Subject: [PATCH] Added traceTASK_SWITCHED_OUT macro.

---
 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