fix: incorrect uninstall isr service

This commit is contained in:
2025-12-23 19:02:49 +03:00
parent f8aef52a9c
commit d76eec1753
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
2.3.0
2.3.1

View File

@@ -99,7 +99,7 @@ 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);
if (_is_prev_gpio_isr_service == true)
if (_is_prev_gpio_isr_service == false)
{
gpio_uninstall_isr_service();
}