Skip to content

Commit dcc466a

Browse files
h3ndrikprojectgus
authored andcommitted
i2s: fix type mismatch of intr_alloc_flags
Merges #1589
1 parent c3bec5b commit dcc466a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/driver/i2s.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ esp_err_t i2s_enable_tx_intr(i2s_port_t i2s_num)
185185
return ESP_OK;
186186
}
187187

188-
static esp_err_t i2s_isr_register(i2s_port_t i2s_num, uint8_t intr_alloc_flags, void (*fn)(void*), void * arg, i2s_isr_handle_t *handle)
188+
static esp_err_t i2s_isr_register(i2s_port_t i2s_num, int intr_alloc_flags, void (*fn)(void*), void * arg, i2s_isr_handle_t *handle)
189189
{
190190
return esp_intr_alloc(ETS_I2S0_INTR_SOURCE + i2s_num, intr_alloc_flags, fn, arg, handle);
191191
}

0 commit comments

Comments
 (0)