freertos: update module handles to struct type

This commit updates the handles for the timer, task and event_group
modules to struct type. This matches upstream freertos source.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
This commit is contained in:
Sudeep Mohanty
2021-11-02 10:24:30 +05:30
parent ae9f42383c
commit 40c1f3e06e
11 changed files with 19 additions and 37 deletions

View File

@@ -123,7 +123,7 @@ struct MockMutex : public CMockFix {
};
struct MockTask : public CMockFix {
MockTask (CreateAnd flags) : task((void*) 1)
MockTask (CreateAnd flags) : task((TaskHandle_t) 1)
{
if (flags == CreateAnd::FAIL) {
xTaskCreatePinnedToCore_ExpectAnyArgsAndReturn(pdFALSE);