From 1ead7d162ae3cf1568dc21bb05fa365c1985d114 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sat, 30 May 2009 13:27:54 +0000 Subject: [PATCH] Add xTaskGetApplicationTaskTag() prototype. --- 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 );