diff --git a/lib/lib_basic/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h b/lib/lib_basic/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h index f867ac8db..103215655 100644 --- a/lib/lib_basic/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h +++ b/lib/lib_basic/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h @@ -39,7 +39,11 @@ extern "C" #include "ets_sys.h" #include "i2s_reg.h" +#ifndef ARDUINO_ESP8266_RELEASE_3_0_1 #include "i2s.h" +#else +#include "core_esp8266_i2s.h" +#endif #include "eagle_soc.h" #include "esp8266_peri.h" #include "slc_register.h"