fix: incorrect uninstall isr service
This commit is contained in:
@@ -1 +1 @@
|
||||
2.3.0
|
||||
2.3.1
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user