SDMMC: Fix example code (#10035)
The setPins() function obviously comes from the SD_MMC lib. Not prepending that lib, this code won't compile. Signed-off-by: Martin Hübner <martin.hubner@web.de> Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
This commit is contained in:
parent
2db730630e
commit
e850afb15e
1 changed files with 2 additions and 2 deletions
|
|
@ -214,8 +214,8 @@ void setup() {
|
|||
// If you want to change the pin assignment on ESP32-S3 uncomment this block and the appropriate
|
||||
// line depending if you want to use 1-bit or 4-bit line.
|
||||
// Please note that ESP32 does not allow pin change and will always fail.
|
||||
//if(! setPins(clk, cmd, d0)){
|
||||
//if(! setPins(clk, cmd, d0, d1, d2, d3)){
|
||||
//if(! SD_MMC.setPins(clk, cmd, d0)){
|
||||
//if(! SD_MMC.setPins(clk, cmd, d0, d1, d2, d3)){
|
||||
Serial.println("Pin change failed!");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue