mirror of
https://github.com/espressif/esp32-camera.git
synced 2025-07-03 15:36:49 +08:00
Merge pull request #138 from VooDust/patch-4
Added missing retvalue check
This commit is contained in:
@ -447,9 +447,9 @@ static void i2s_init()
|
||||
I2S0.timing.rx_dsync_sw = 1;
|
||||
|
||||
// Allocate I2S interrupt, keep it disabled
|
||||
esp_intr_alloc(ETS_I2S0_INTR_SOURCE,
|
||||
ESP_INTR_FLAG_INTRDISABLED | ESP_INTR_FLAG_LEVEL1 | ESP_INTR_FLAG_IRAM,
|
||||
&i2s_isr, NULL, &s_state->i2s_intr_handle);
|
||||
ESP_ERROR_CHECK(esp_intr_alloc(ETS_I2S0_INTR_SOURCE,
|
||||
ESP_INTR_FLAG_INTRDISABLED | ESP_INTR_FLAG_LOWMED | ESP_INTR_FLAG_IRAM,
|
||||
&i2s_isr, NULL, &s_state->i2s_intr_handle));
|
||||
}
|
||||
|
||||
static void IRAM_ATTR i2s_start_bus()
|
||||
|
Reference in New Issue
Block a user