We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a51f65e commit 452c508Copy full SHA for 452c508
src/AudioTools/PlatformConfig/esp32.h
@@ -40,7 +40,9 @@
40
#endif
41
42
//-------I2S Version -----------------------------------------------
43
-#define USE_LEGACY_I2S 0
+#ifndef USE_LEGACY_I2S
44
+# define USE_LEGACY_I2S (ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0, 0))
45
+#endif
46
47
48
//-------Config for ESP32 families ---------
0 commit comments