mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-15 14:36:45 +00:00
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:
@@ -75,11 +75,8 @@
|
||||
* (for example, xTimerStart(), xTimerReset(), etc.).
|
||||
*/
|
||||
struct tmrTimerControl; /* The old naming convention is used to prevent breaking kernel aware debuggers. */
|
||||
#ifdef ESP_PLATFORM // IDF-3768
|
||||
typedef void* TimerHandle_t;
|
||||
#else
|
||||
typedef struct tmrTimerControl * TimerHandle_t;
|
||||
#endif // ESP_PLATFORM
|
||||
|
||||
/*
|
||||
* Defines the prototype to which timer callback functions must conform.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user