Skip to content

Commit 98def08

Browse files
committed
Correction for STM32
1 parent 2b1dec1 commit 98def08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/VS1053Driver.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,10 @@ bool VS1053::testComm(const char *header) {
116116
int i; // Loop control
117117
uint16_t r1, r2, cnt = 0;
118118
uint16_t delta = 300; // 3 for fast SPI
119+
delay(100);
119120

120121
if (!digitalRead(dreq_pin)) {
121-
VS1053_LOGE("VS1053 not properly installed!");
122+
VS1053_LOGW("VS1053 not properly installed!");
122123
// Allow testing without the VS1053 module
123124
pinMode(dreq_pin, INPUT_PULLUP); // DREQ is now input with pull-up
124125
return false; // Return bad result

0 commit comments

Comments
 (0)