pcnt_unit_remove_watch_step() function
Remove a step notify for PCNT unit
Arguments
unit
PCNT unit handle created by `pcnt_new_unit()`
Return value
- ESP_OK: Remove step notify successfully - ESP_ERR_INVALID_ARG: Remove step notify failed because of invalid argument - ESP_ERR_INVALID_STATE: Remove step notify failed because the step notify was not added by `pcnt_unit_add_watch_step()` yet - ESP_FAIL: Remove step notify failed because of other error