]> begriffs open source - freertos/commit
Ensure that xTaskGetCurrentTaskHandle is included (#507)
authorGaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Thu, 23 Jun 2022 17:17:17 +0000 (10:17 -0700)
committerGitHub <noreply@github.com>
Thu, 23 Jun 2022 17:17:17 +0000 (10:17 -0700)
commit7af41c29cb1bd6587b814a1a95de73d811eacd74
tree3d1d8dff8ee15b3277ba5c6959d1afa8015fb231
parent90d920466ea2e768e0095ef5a93ff0a0833d9068
Ensure that xTaskGetCurrentTaskHandle is included (#507)

This commits adds a check that INCLUDE_xTaskGetCurrentTaskHandle is
set to 1. A compile time error message is produced if it is not set to
1. This is needed because stream_buffer.c uses xTaskGetCurrentTaskHandle.

This was reported here - https://forums.freertos.org/t/xstreambufferreceive-include-xtaskgetcur/15283

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