esp-adf-libs icon indicating copy to clipboard operation
esp-adf-libs copied to clipboard

hanged order of definitions in i2s_stream to be compatible with c++.

Open tank104 opened this issue 10 months ago • 0 comments

Changed order of definitions in i2s_stream to be compatible with c++. C++ requires define of struct to match the order.

We are getting errors like:

components/audio_stream/include/i2s_stream.h:232:1: error: designator order for field 'i2s_stream_cfg_t::transmit_mode' does not match declaration order in 'i2s_stream_cfg_t'

See issue: https://github.com/espressif/esp-adf/issues/1190

tank104 avatar Apr 08 '24 21:04 tank104