mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-17 06:48:05 +00:00
parent
a90b864a3b
commit
504c569f9c
1 changed files with 4 additions and 2 deletions
|
@ -302,11 +302,13 @@ void CardReader::printListing(
|
||||||
pathLong[lenPrependLong - 1] = '/';
|
pathLong[lenPrependLong - 1] = '/';
|
||||||
}
|
}
|
||||||
strcpy(pathLong + lenPrependLong, longFilename);
|
strcpy(pathLong + lenPrependLong, longFilename);
|
||||||
printListing(child, /*includeLongNames=*/true, path, pathLong);
|
printListing(child, true, path, pathLong);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
printListing(child, false, path);
|
||||||
|
#else
|
||||||
|
printListing(child, path);
|
||||||
#endif
|
#endif
|
||||||
printListing(child, path);
|
|
||||||
else {
|
else {
|
||||||
SERIAL_ECHO_MSG(STR_SD_CANT_OPEN_SUBDIR, dosFilename);
|
SERIAL_ECHO_MSG(STR_SD_CANT_OPEN_SUBDIR, dosFilename);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue