diff --git a/version.txt b/version.txt index cc6612c..a625450 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.3.0 \ No newline at end of file +2.3.1 \ No newline at end of file diff --git a/zh_pcf8574.c b/zh_pcf8574.c index af50f78..4467383 100755 --- a/zh_pcf8574.c +++ b/zh_pcf8574.c @@ -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(); }