TimerHandle_t is now type safe instead of void *.

Remove casts that are no longer required not type safe handles are used.
This commit is contained in:
Richard Barry 2018-06-11 04:43:12 +00:00
parent 3d8681de9e
commit 4a8c4c9eaf
6 changed files with 44 additions and 34 deletions

View file

@ -73,7 +73,8 @@ or interrupt version of the queue send function should be used. */
* reference the subject timer in calls to other software timer API functions
* (for example, xTimerStart(), xTimerReset(), etc.).
*/
typedef void * TimerHandle_t;
struct TimerDef_t;
typedef struct TimerDef_t * TimerHandle_t;
/*
* Defines the prototype to which timer callback functions must conform.