Update for RP2040 core v2.0 new I2S (#528)

The I2S subsystem was rewritten in the RP2040 core V2.0, so update to
use the new object and calls.

Also clean up some code warnings and remove SPIFFS from the RP2040\
This commit is contained in:
Earle F. Philhower, III authored and GitHub committed 2022-05-18 17:37:34 -07:00
1 parent 76235d0e3f
commit 9384bb0f3d
7 files changed
+62 -49

No files matched your search

+5 -1
View File
@@ -18,6 +18,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#if !defined(ARDUINO_ARCH_RP2040)
#include <Arduino.h>
#include <FS.h>
#ifdef ESP32
@@ -110,4 +112,6 @@ bool AudioOutputSPIFFSWAV::stop()
f.close();
return true;
}
#endif