Remove casts from EventGroupHandle_t to EventGroup_t, and corresponding lint comments, which are not required now EventGroupHandle_t is type safe.

Fix the prototype of prvTimerCallback() in the MPU simulator demo (caught due to the new type safety in tasks.c).
This commit is contained in:
Richard Barry
2018-06-04 04:02:57 +00:00
parent 390fb06b49
commit 7a9f453f96
6 changed files with 18 additions and 18 deletions

View File

@ -58,8 +58,8 @@ extern "C" {
* \defgroup TaskHandle_t TaskHandle_t
* \ingroup Tasks
*/
struct xTaskControlBlock;
typedef struct xTaskControlBlock* TaskHandle_t;
struct TaskControlBlock_t;
typedef struct TaskControlBlock_t* TaskHandle_t;
/*
* Defines the prototype to which the application task hook function must