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 c3f22b1 commit cd28da2Copy full SHA for cd28da2
src/AudioTools/CoreAudio/AudioI2S/I2SRP2040.h
@@ -67,12 +67,15 @@ class I2SDriverRP2040 {
67
break;
68
}
69
70
+// starting 5.3.0
71
+#if (ARDUINO_PICO_MAJOR >= 5 && ARDUINO_PICO_MINOR >= 3)
72
if (!cfg.is_master) {
73
if (!i2s.setSlave()) {
74
LOGE("Could not set slave mode");
75
return false;
76
77
78
+#endif
79
80
if (cfg.pin_ws == cfg.pin_bck + 1) { // normal pin order
81
if (!i2s.setBCLK(cfg.pin_bck)) {
0 commit comments