esp32s2: cam.c: Remove GPIO interrupt at deinit
This commit is contained in:
parent
929d6dab73
commit
98f812e0c2
@ -447,6 +447,7 @@ esp_err_t cam_deinit() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cam_stop();
|
cam_stop();
|
||||||
|
gpio_isr_handler_remove(cam_obj->vsync_pin);
|
||||||
esp_intr_free(cam_obj->intr_handle);
|
esp_intr_free(cam_obj->intr_handle);
|
||||||
vTaskDelete(cam_obj->task_handle);
|
vTaskDelete(cam_obj->task_handle);
|
||||||
vQueueDelete(cam_obj->event_queue);
|
vQueueDelete(cam_obj->event_queue);
|
||||||
|
Loading…
Reference in New Issue
Block a user