schreibfaul1 / ESP32-MiniWebRadio

Internetradio with ESP32, I2S DAC and SPI TFT Display with Touchpad
https://www.youtube.com/watch?v=6QbPee2583o
319 stars 78 forks source link

New Version on Audiokit-A1S ES8388 #472

Closed steevemadison75 closed 1 month ago

steevemadison75 commented 1 month ago

Hello , i have this compile error in VS

src/main.cpp:223:22: error: 'ES8388::ES8388(TwoWire)' is private within this context 223 | ES8388 dac(&i2cBusTwo); | ^ In file included from src/common.h:51, from src/main.cpp:1: lib/es8388/ES8388.h:8:5: note: declared private here 8 | ES8388(TwoWire TwoWireInstance = &Wire); // Constructor. | ^~

got any clue ??

thx in advanced

schreibfaul1 commented 1 month ago

Looks like the compiler in IDF V5... no longer recognizes the constructor as public by default. Hope it works now.

steevemadison75 commented 1 month ago

yes it work , thank you