A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
display used pins for i2S tests
Geoe518777d05f6
diff --git a/src/Services/I2sService.cpp b/src/Services/I2sService.cppindex 3a8be130..f52932b0 100644--- a/src/Services/I2sService.cpp+++ b/src/Services/I2sService.cpp@@ -127,7 +127,7 @@ size_t I2sService::recordSamples(int16_t* outBuffer, size_t sampleCount) {return totalRead / sizeof(int16_t);}-void I2sService::stop() {+void I2sService::end() {if (initialized) {i2s_driver_uninstall(port);initialized = false;diff --git a/src/Services/I2sService.h b/src/Services/I2sService.hindex bb5fac7c..d467eab9 100644--- a/src/Services/I2sService.h+++ b/src/Services/I2sService.h@@ -16,7 +16,7 @@ public:void playToneInterruptible(uint16_t freq, uint32_t durationMs, std::function<bool()> shouldStop);void playPcm(const int16_t* data, size_t numBytes);size_t recordSamples(int16_t* outBuffer, size_t sampleCount);- void stop();+ void end();bool isInitialized() const;private: