From e03c88dc5d153349db48671985c3e432bf84afd9 Mon Sep 17 00:00:00 2001 From: Alexey Zholtikov Date: Wed, 24 Dec 2025 15:15:25 +0300 Subject: [PATCH] fix: not full deinit --- version.txt | 2 +- zh_pcf8574.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/version.txt b/version.txt index a625450..e703481 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.3.1 \ No newline at end of file +2.3.2 \ No newline at end of file diff --git a/zh_pcf8574.c b/zh_pcf8574.c index 4467383..54c6181 100755 --- a/zh_pcf8574.c +++ b/zh_pcf8574.c @@ -99,6 +99,8 @@ esp_err_t zh_pcf8574_deinit(zh_pcf8574_handle_t *handle) gpio_isr_handler_remove((gpio_num_t)_interrupt_gpio); gpio_reset_pin((gpio_num_t)_interrupt_gpio); zh_vector_free(&_vector); + vSemaphoreDelete(_interrupt_semaphore); + vTaskDelete(zh_pcf8574); if (_is_prev_gpio_isr_service == false) { gpio_uninstall_isr_service();