Skip to content

Commit

Permalink
DriverPDM
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Nov 8, 2024
1 parent 5214dec commit 3108e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AudioTools/CoreAudio/AudioI2S/I2SESP32V1.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class I2SDriverESP32V1 {
if (cfg.rx_tx_mode == TX_MODE) {
return startTX(cfg, tx_chan, txPin);
} else if (cfg.rx_tx_mode == RX_MODE) {
return startRX(cfg, tx_chan, txPin);
return startRX(cfg, rx_chan, txPin);
}
LOGE("Only RX and TX is supported for PDM")
return false;
Expand Down

0 comments on commit 3108e58

Please sign in to comment.