rmt_bytes_encoder_update_config() function
Update the configuration of the bytes encoder
Arguments
bytes_encoder
Bytes encoder handle, created by e.g `rmt_new_bytes_encoder()`
config
Bytes encoder configuration
Return value
- ESP_OK: Update RMT bytes encoder successfully - ESP_ERR_INVALID_ARG: Update RMT bytes encoder failed because of invalid argument - ESP_FAIL: Update RMT bytes encoder failed because of other error
Notes
The configurations of the bytes encoder is also set up by `rmt_new_bytes_encoder()`. This function is used to update the configuration of the bytes encoder at runtime.