Fixed compiler error with esp idf version 4 (#380)

This commit is contained in:
2021-01-25 00:05:16 -08:00
committed by GitHub
parent ed3eeb1f1b
commit 79edeccb29
+1 -1
View File
@@ -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