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:
Martin Hübner 2024-07-16 10:52:11 +02:00 committed by GitHub
parent 2db730630e
commit e850afb15e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}