mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-01 08:54:14 -04:00
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:
parent
390fb06b49
commit
7a9f453f96
6 changed files with 18 additions and 18 deletions
|
@ -78,8 +78,8 @@ extern "C" {
|
|||
* \defgroup EventGroupHandle_t EventGroupHandle_t
|
||||
* \ingroup EventGroup
|
||||
*/
|
||||
struct xEventGroup;
|
||||
typedef struct xEventGroup * EventGroupHandle_t;
|
||||
struct EventGroupDef_t;
|
||||
typedef struct EventGroupDef_t * EventGroupHandle_t;
|
||||
|
||||
/*
|
||||
* The type that holds event bits always matches TickType_t - therefore the
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue