Skip to content

Commit eff1244

Browse files
authored
Merge pull request #11 from FatherMarco1971/main
Update DriverPins.h
2 parents 54b5042 + 3161dda commit eff1244

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DriverPins.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,12 @@ class DriverPins {
328328
for (auto &tmp : spi) {
329329
AD_LOGD("DriverPins::begin::SPI::begin");
330330
if (tmp.function == PinFunction::SD)
331+
{
331332
if (sd_active)
332333
result &= tmp.begin();
333334
else
334335
result &= tmp.begin();
336+
}
335337
}
336338

337339
// setup i2c

0 commit comments

Comments
 (0)