feat: added deinit

This commit is contained in:
aZholtikov committed 2025-12-24 15:17:50 +03:00
1 parent 6b2ed520d0
commit d8c6e2679f
3 files changed
+37 -6

No files matched your search

+7
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.
*