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