]> granicus.if.org Git - esp-idf/commitdiff
i2s: fix type mismatch of intr_alloc_flags
authorh3ndrik <hendrik+dev@xd0.de>
Wed, 7 Feb 2018 13:14:41 +0000 (14:14 +0100)
committerAngus Gratton <gus@projectgus.com>
Fri, 16 Feb 2018 05:20:12 +0000 (16:20 +1100)
Merges https://github.com/espressif/esp-idf/pull/1589

components/driver/i2s.c

index b6d01c19c31c3755744ddcd78e518356eea4b0c0..9d1590f1aff894f4944d84abfe30046b6bb29c61 100644 (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);
 }