Skip to content

Commit ea0699c

Browse files
Fix example formatting, ugh.
1 parent 8f82ea3 commit ea0699c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cores/esp8266/core_esp8266_i2s.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ static void i2s_slc_begin() {
222222
SLCC0 &= ~(SLCMM << SLCM); // Clear DMA MODE
223223
SLCC0 |= (1 << SLCM); // Set DMA MODE to 1
224224
SLCRXDC |= SLCBINR | SLCBTNR; // Enable INFOR_NO_REPLACE and TOKEN_NO_REPLACE
225-
SLCRXDC &= ~(/*SLCBRXFE |*/ SLCBRXEM | SLCBRXFM); // Disable RX_FILL, RX_EOF_MODE and RX_FILL_MODE
225+
SLCRXDC &= ~(SLCBRXFE | SLCBRXEM | SLCBRXFM); // Disable RX_FILL, RX_EOF_MODE and RX_FILL_MODE
226226

227227
//Feed DMA the 1st buffer desc addr
228228
//To send data to the I2S subsystem, counter-intuitively we use the RXLINK part, not the TXLINK as you might

libraries/esp8266/examples/I2STransmit/I2STransmit.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void loop() {
6262
static int cnt = 0;
6363
// Each loop will send 100 raw samples (400 bytes)
6464
// UDP needs to be < TCP_MSS which can be 500 bytes in LWIP2
65-
for (int i=0; i<100; i++) {
65+
for (int i = 0; i < 100; i++) {
6666
i2s_read_sample(&buffer[i][0], &buffer[i][1], true);
6767
}
6868
udp.beginPacket(listener, port);

0 commit comments

Comments
 (0)