Define INCLUDE_xTaskGetCurrentTaskHandle in FreeRTOSConfig.h (#822)

* Define INCLUDE_xTaskGetCurrentTaskHandle in FreeRTOSConfig.h

This is needed to fix build issues in https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/507

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Fix header check

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
Gaurav-Aggarwal-AWS 2022-06-21 10:15:26 -07:00 committed by GitHub
parent 73fab252c4
commit c472c08d3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -112,6 +112,7 @@ void vConfigureTimerForRunTimeStats( void ); /* Prototype of function that in
#define INCLUDE_xSemaphoreGetMutexHolder 1
#define INCLUDE_xTimerPendFunctionCall 1
#define INCLUDE_xTaskAbortDelay 1
#define INCLUDE_xTaskGetCurrentTaskHandle 1
/* It is a good idea to define configASSERT() while developing. configASSERT()
* uses the same semantics as the standard C assert() macro. */