Skip to content

Commit

Permalink
i2s on esp8266: fix include (earlephilhower#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-a-v authored Jun 29, 2021
1 parent 4111404 commit c3c9a14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/AudioOutputI2S.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
#include <Arduino.h>
#ifdef ESP32
#include "driver/i2s.h"
#elif defined(ESP8266)
#include <i2s.h>
#elif defined(ARDUINO_ARCH_RP2040)
#elif defined(ARDUINO_ARCH_RP2040) || defined(ESP8266)
#include <I2S.h>
#endif
#include "AudioOutputI2S.h"
Expand Down
4 changes: 1 addition & 3 deletions src/AudioOutputI2SNoDAC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
#include <Arduino.h>
#ifdef ESP32
#include "driver/i2s.h"
#elif defined(ESP8266)
#include <i2s.h>
#elif defined(ARDUINO_ARCH_RP2040)
#elif defined(ARDUINO_ARCH_RP2040) || defined(ESP8266)
#include <I2S.h>
#endif
#include "AudioOutputI2SNoDAC.h"
Expand Down

0 comments on commit c3c9a14

Please sign in to comment.