changed void* cast to QueueHandle_t cast

This commit is contained in:
2020-05-14 16:12:01 +02:00
parent 50a1b5170a
commit 49fa2fe32c
2 changed files with 7 additions and 4 deletions

View File

@ -6,8 +6,11 @@
#include <framework/ipc/MessageQueueMessage.h>
#include <framework/osal/FreeRTOS/TaskManagement.h>
#include <FreeRTOS.h>
#include "queue.h"
extern "C" {
#include "FreeRTOS.h"
#include "freertos/queue.h"
}
//TODO this class assumes that MessageQueueId_t is the same size as void* (the FreeRTOS handle type), compiler will catch this but it might be nice to have something checking or even an always working solution