Skip to content

Commit dac6ef6

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 92af4e6 commit dac6ef6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

libraries/ESP_I2S/examples/Simple_tone/Simple_tone.ino

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
#include <ESP_I2S.h>
3232

3333
// The GPIO pins are not fixed, most other pins could be used for the I2S function.
34-
#define I2S_LRC 25
34+
#define I2S_LRC 25
3535
#define I2S_BCLK 5
36-
#define I2S_DIN 26
36+
#define I2S_DIN 26
3737

3838
const int frequency = 440; // frequency of square wave in Hz
3939
const int amplitude = 500; // amplitude of square wave
@@ -59,8 +59,7 @@ void setup() {
5959
// start I2S at the sample rate with 16-bits per sample
6060
if (!i2s.begin(mode, sampleRate, bps, slot)) {
6161
Serial.println("Failed to initialize I2S!");
62-
while (1)
63-
; // do nothing
62+
while (1); // do nothing
6463
}
6564
}
6665

0 commit comments

Comments
 (0)