Skip to content

Commit c0f2e6f

Browse files
committed
VS1053Stream: comment
1 parent a47a06a commit c0f2e6f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/AudioTools/AudioLibs/VS1053Stream.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ class VS1053Config : public AudioInfo {
6868
* audio module. If you want to write encoded data set is_encoded_data = true in
6969
* the configuration. Many VS1053 modules also have a built in microphone that
7070
* can be used for recording: set the mode to RX_MODE to use this.
71-
*
71+
*
7272
* Depends on https://github.com/pschatzmann/arduino-vs1053
73-
*
73+
*
7474
* @ingroup io
7575
* @author Phil Schatzmann
7676
* @copyright GPLv3
@@ -197,8 +197,9 @@ class VS1053Stream : public AudioStream, public VolumeSupport {
197197
result = false;
198198
break;
199199
}
200-
if (!result) { LOGE("begin failed");
201-
}
200+
201+
// log error on failure
202+
if (!result) LOGE("begin failed");
202203
return result;
203204
}
204205

0 commit comments

Comments
 (0)