pcnt_del_channel() function
Delete the PCNT channel
Arguments
chan
PCNT channel handle created by `pcnt_new_channel()`
Return value
- ESP_OK: Delete the PCNT channel successfully - ESP_ERR_INVALID_ARG: Delete the PCNT channel failed because of invalid argument - ESP_FAIL: Delete the PCNT channel failed because of other error