How to get timer task handle
Posted: Sun Aug 27, 2023 9:55 pm
I want to get the task handle for the timer daemon task.
There is a FreeRTOS function: xTimerGetTimerDaemonTaskHandle
However, it is disabled in FreeRTOSConfig.h (INCLUDE_xTimerGetTimerDaemonTaskHandle is 0) with the comment:
"Currently there is no need for this API"
Is there another API or easy way to get the timer task handle? I'd prefer not to hack/patch the ESP-IDF source to enable this function.
There is a FreeRTOS function: xTimerGetTimerDaemonTaskHandle
However, it is disabled in FreeRTOSConfig.h (INCLUDE_xTimerGetTimerDaemonTaskHandle is 0) with the comment:
"Currently there is no need for this API"
Is there another API or easy way to get the timer task handle? I'd prefer not to hack/patch the ESP-IDF source to enable this function.