mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(isp): added isp driver framework and isp af driver
This commit is contained in:
@@ -73,6 +73,7 @@ esp_err_t mipi_csi_brg_declaim(int id)
|
||||
|
||||
s_ctx.ref_cnt[id]--;
|
||||
if (s_ctx.ref_cnt[id] < 0) {
|
||||
s_ctx.ref_cnt[id] = 0;
|
||||
portEXIT_CRITICAL(&s_ctx.spinlock);
|
||||
ESP_LOGE(TAG, "%s called, but s_ctx.ref_cnt[%d] == 0", __func__, id);
|
||||
return ESP_ERR_INVALID_STATE;
|
||||
|
||||
Reference in New Issue
Block a user