feat: added deinit
This commit is contained in:
1 parent
6b2ed520d0
commit
d8c6e2679f
3 files changed
+37
-6
No files matched your search
@@ -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.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user