From 31fb30545a2066bf238b374f733e5ec05808aeb4 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sat, 30 May 2009 13:27:54 +0000 Subject: [PATCH] Add xTaskGetApplicationTaskTag() prototype. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@753 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/include/task.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/include/task.h b/Source/include/task.h index be76c206c..859b0b686 100644 --- a/Source/include/task.h +++ b/Source/include/task.h @@ -955,6 +955,14 @@ unsigned portBASE_TYPE uxTaskGetStackHighWaterMark( xTaskHandle xTask ); */ void vTaskSetApplicationTaskTag( xTaskHandle xTask, pdTASK_HOOK_CODE pxHookFunction ); +/** + * task.h + *
void xTaskGetApplicationTaskTag( xTaskHandle xTask );
+ * + * Returns the pxHookFunction value assigned to the task xTask. + */ +pdTASK_HOOK_CODE xTaskGetApplicationTaskTag( xTaskHandle xTask ); + /** * task.h *
portBASE_TYPE xTaskCallApplicationTaskHook( xTaskHandle xTask, pdTASK_HOOK_CODE pxHookFunction );
-- 2.39.5