forked from Makuna/NeoPixelBus
Fixed compiler error with esp idf version 4
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
#include "Esp32_i2s.h"
|
#include "Esp32_i2s.h"
|
||||||
#include "esp32-hal.h"
|
#include "esp32-hal.h"
|
||||||
|
|
||||||
#if ESP_IDF_VERSION_MAJOR<4
|
#if ESP_IDF_VERSION_MAJOR<=4
|
||||||
#define I2S_BASE_CLK (160000000L)
|
#define I2S_BASE_CLK (160000000L)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user