From e6886175bb78988363fb92d659eb678571de9652 Mon Sep 17 00:00:00 2001 From: Daniel Brunner Date: Tue, 27 Oct 2020 10:34:31 +0100 Subject: [PATCH] Fixed compiler error with esp idf version 4 --- src/internal/Esp32_i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/Esp32_i2s.c b/src/internal/Esp32_i2s.c index 6f6b730..652ddfa 100644 --- a/src/internal/Esp32_i2s.c +++ b/src/internal/Esp32_i2s.c @@ -46,7 +46,7 @@ #include "Esp32_i2s.h" #include "esp32-hal.h" -#if ESP_IDF_VERSION_MAJOR<4 +#if ESP_IDF_VERSION_MAJOR<=4 #define I2S_BASE_CLK (160000000L) #endif