Skip to content

Commit fbed833

Browse files
committed
HexDumpOutput remove hardcoded Serial
1 parent f973db1 commit fbed833

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/AudioTools/AudioOutput.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ class HexDumpOutput : public AudioOutput {
237237

238238

239239
void flush() {
240-
Serial.println();
240+
out_ptr->println();
241241
pos = 0;
242242
}
243243

@@ -250,10 +250,10 @@ class HexDumpOutput : public AudioOutput {
250250
out_ptr->print(" ");
251251
pos++;
252252
if (pos == 8) {
253-
Serial.print(" - ");
253+
out_ptr->print(" - ");
254254
}
255255
if (pos == 16) {
256-
Serial.println();
256+
out_ptr->println();
257257
pos = 0;
258258
}
259259
}

0 commit comments

Comments
 (0)