From 6fe9691c90b417f1be5f4d1d3daff182b85450eb Mon Sep 17 00:00:00 2001 From: netmindz Date: Wed, 25 Oct 2023 19:05:00 +0100 Subject: [PATCH 1/2] Update esp32_i2s_parallel.c Update includes to support platform 2.0.x --- src/esp32_i2s_parallel.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/esp32_i2s_parallel.c b/src/esp32_i2s_parallel.c index e4db0b1..62298ec 100644 --- a/src/esp32_i2s_parallel.c +++ b/src/esp32_i2s_parallel.c @@ -32,6 +32,12 @@ #include "esp_heap_caps.h" #include "esp32_i2s_parallel.h" +#ifndef GPIO_PIN_MUX_REG +#include "soc/gpio_periph.h" +#include "esp32-hal.h" +#include "hal/gpio_types.h" +#endif + typedef struct { volatile lldesc_t *dmadesc_a, *dmadesc_b; int desccount_a, desccount_b; From aaf0d3f128e93c0db0a5a85e9807181b1aaf0bf8 Mon Sep 17 00:00:00 2001 From: netmindz Date: Wed, 25 Oct 2023 20:06:00 +0100 Subject: [PATCH 2/2] Update esp32_i2s_parallel.c --- src/esp32_i2s_parallel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/esp32_i2s_parallel.c b/src/esp32_i2s_parallel.c index 62298ec..3a78d31 100644 --- a/src/esp32_i2s_parallel.c +++ b/src/esp32_i2s_parallel.c @@ -35,7 +35,6 @@ #ifndef GPIO_PIN_MUX_REG #include "soc/gpio_periph.h" #include "esp32-hal.h" -#include "hal/gpio_types.h" #endif typedef struct {