From 98f812e0c2465aaceb15f744e569b840e05e6215 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Thu, 10 Jun 2021 10:42:52 -0500 Subject: [PATCH] esp32s2: cam.c: Remove GPIO interrupt at deinit --- ports/esp32s2/cam.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/esp32s2/cam.c b/ports/esp32s2/cam.c index 74225dc2a3..e435993c6d 100644 --- a/ports/esp32s2/cam.c +++ b/ports/esp32s2/cam.c @@ -447,6 +447,7 @@ esp_err_t cam_deinit() { } cam_stop(); + gpio_isr_handler_remove(cam_obj->vsync_pin); esp_intr_free(cam_obj->intr_handle); vTaskDelete(cam_obj->task_handle); vQueueDelete(cam_obj->event_queue);