esp_etm_del_task() function
Delete ETM task
Arguments
task
ETM task handle obtained from a driver/peripheral, e.g. `xxx_new_etm_task`
Return value
- ESP_OK: Delete ETM task successfully - ESP_ERR_INVALID_ARG: Delete ETM task failed because of invalid argument - ESP_FAIL: Delete ETM task failed because of other reasons
Notes
Although the ETM task comes from various peripherals, we provide the same user API to delete the task handle seamlessly.