Skip to content

Commit 2829692

Browse files
committed
Revert Uninstalls ISR service on cam deinit #516
Change is necessary in order to not stop other GPIO ISR uses that users might have in their code. This would cause an error to be emitted when driver is re-initialized, but it's dismissed in code, so the error will not cause any other change in behavior. cc @AxelLin @wouterdebie
1 parent 30aeeee commit 2829692

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

target/esp32/ll_cam.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ esp_err_t ll_cam_deinit(cam_obj_t *cam)
257257
esp_intr_free(cam->cam_intr_handle);
258258
cam->cam_intr_handle = NULL;
259259
}
260-
gpio_uninstall_isr_service();
261260
return ESP_OK;
262261
}
263262

target/esp32s2/ll_cam.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ esp_err_t ll_cam_deinit(cam_obj_t *cam)
9595
esp_intr_free(cam->cam_intr_handle);
9696
cam->cam_intr_handle = NULL;
9797
}
98-
gpio_uninstall_isr_service();
9998
return ESP_OK;
10099
}
101100

0 commit comments

Comments
 (0)