Fixed compiler error with esp idf version 4

This commit is contained in:
2020-10-27 10:34:31 +01:00
committed by GitHub
parent 296e2c30c5
commit e6886175bb

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