From 79edeccb29c034e87a9941f57e11a4b2fb705afb Mon Sep 17 00:00:00 2001 From: Daniel Brunner Date: Mon, 25 Jan 2021 09:05:16 +0100 Subject: [PATCH] Fixed compiler error with esp idf version 4 (#380) --- 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 6406785..72fbf22 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