Skip to content

Commit 3108e58

Browse files
committed
DriverPDM
1 parent 5214dec commit 3108e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioTools/CoreAudio/AudioI2S/I2SESP32V1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ class I2SDriverESP32V1 {
301301
if (cfg.rx_tx_mode == TX_MODE) {
302302
return startTX(cfg, tx_chan, txPin);
303303
} else if (cfg.rx_tx_mode == RX_MODE) {
304-
return startRX(cfg, tx_chan, txPin);
304+
return startRX(cfg, rx_chan, txPin);
305305
}
306306
LOGE("Only RX and TX is supported for PDM")
307307
return false;

0 commit comments

Comments
 (0)