Skip to content

Commit 1dc8dfd

Browse files
Astyle
1 parent 04ba39f commit 1dc8dfd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/AudioOutputULP.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,26 +174,26 @@ bool AudioOutputULP::begin() {
174174
}
175175
break;
176176
case 3:
177-
for(int i = 0; i < 256; i++) {
177+
for (int i = 0; i < 256; i++) {
178178
RTC_SLOW_MEM[dacTableStart1 + i * 2] = create_I_WR_REG(RTC_IO_PAD_DAC1_REG, 19, 26, i); //dac1: 0x1D4C0121 | (i << 10)
179179
RTC_SLOW_MEM[dacTableStart1 + 1 + i * 2] = create_I_BXI(retAddress1); // 0x80000000 + retAddress1 * 4
180180
RTC_SLOW_MEM[dacTableStart2 + i * 2] = create_I_WR_REG(RTC_IO_PAD_DAC2_REG, 19, 26, i); //dac2: 0x1D4C0122 | (i << 10)
181181
RTC_SLOW_MEM[dacTableStart2 + 1 + i * 2] = create_I_BXI(retAddress2); // 0x80000000 + retAddress2 * 4
182-
}
183-
break;
182+
}
183+
break;
184184
}
185185

186186
//set all samples to 128 (silence)
187187
for (int i = 0; i < totalSampleWords; i++) {
188188
RTC_SLOW_MEM[bufferStart + i] = 0x8080;
189189
}
190-
190+
191191
//start
192192
RTC_SLOW_MEM[indexAddress] = 0;
193193
ulp_run(0);
194194

195195
//wait until ULP starts using samples and the index of output sample advances
196-
while(RTC_SLOW_MEM[indexAddress] == 0) {
196+
while (RTC_SLOW_MEM[indexAddress] == 0) {
197197
delay(1);
198198
}
199199

@@ -273,4 +273,4 @@ bool AudioOutputULP::stop() {
273273
}
274274

275275
#endif
276-
#endif
276+
#endif

0 commit comments

Comments
 (0)