Skip to content

Commit bb74e6e

Browse files
committed
fix SR example
1 parent db37efa commit bb74e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP_SR/examples/Basic/Basic.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void setup(){
8080

8181
i2s.setPins(I2S_PIN_BCK, I2S_PIN_WS, -1, I2S_PIN_DIN);
8282
i2s.setTimeout(1000);
83-
i2s.begin(16000, I2S_DATA_BIT_WIDTH_16BIT, I2S_SLOT_MODE_STEREO);
83+
i2s.begin(I2S_MODE_STD, 16000, I2S_DATA_BIT_WIDTH_16BIT, I2S_SLOT_MODE_STEREO);
8484

8585

8686
ESP_SR.onEvent(onSrEvent);

0 commit comments

Comments
 (0)