feat: added deinit

This commit is contained in:
2025-12-24 15:17:50 +03:00
parent 6b2ed520d0
commit d8c6e2679f
3 changed files with 37 additions and 6 deletions

View File

@@ -103,6 +103,13 @@ extern "C"
*/
esp_err_t zh_encoder_init(const zh_encoder_init_config_t *config, zh_encoder_handle_t *handle);
/**
* @brief Deinitialize encoder.
*
* @return ESP_OK if success or an error code otherwise.
*/
esp_err_t zh_encoder_deinit(zh_encoder_handle_t *handle);
/**
* @brief Set encoder position.
*