i2s: fix type mismatch of intr_alloc_flags

Merges https://github.com/espressif/esp-idf/pull/1589
This commit is contained in:
h3ndrik 2018-02-07 14:14:41 +01:00 committed by Angus Gratton
parent c3bec5b103
commit dcc466a673

View file

@ -185,7 +185,7 @@ esp_err_t i2s_enable_tx_intr(i2s_port_t i2s_num)
return ESP_OK;
}
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)
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)
{
return esp_intr_alloc(ETS_I2S0_INTR_SOURCE + i2s_num, intr_alloc_flags, fn, arg, handle);
}