From dcc466a6737fae9ab769a488b4a704e6f6d8b303 Mon Sep 17 00:00:00 2001 From: h3ndrik Date: Wed, 7 Feb 2018 14:14:41 +0100 Subject: [PATCH] i2s: fix type mismatch of intr_alloc_flags Merges https://github.com/espressif/esp-idf/pull/1589 --- components/driver/i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/driver/i2s.c b/components/driver/i2s.c index b6d01c19c..9d1590f1a 100644 --- a/components/driver/i2s.c +++ b/components/driver/i2s.c @@ -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); }