Skip to content

Commit 95e4c1e

Browse files
committed
Call setSPIActiveForSD on begin()
1 parent cc7ee8a commit 95e4c1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AudioBoard.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class AudioBoard {
2323
}
2424

2525
bool begin(){
26+
pins->setSPIActiveForSD(codec_cfg.sd_active);
2627
AD_LOGD("AudioBoard::pins::begin");
2728
bool result_pins = pins->begin();
2829
AD_LOGD("AudioBoard::pins::begin::returned:%s", result_pins ? "true" : "false");

0 commit comments

Comments
 (0)