|
@@ -302,11 +302,13 @@ void CardReader::printListing(
|
302
|
302
|
pathLong[lenPrependLong - 1] = '/';
|
303
|
303
|
}
|
304
|
304
|
strcpy(pathLong + lenPrependLong, longFilename);
|
305
|
|
- printListing(child, /*includeLongNames=*/true, path, pathLong);
|
|
305
|
+ printListing(child, true, path, pathLong);
|
306
|
306
|
}
|
307
|
307
|
else
|
|
308
|
+ printListing(child, false, path);
|
|
309
|
+ #else
|
|
310
|
+ printListing(child, path);
|
308
|
311
|
#endif
|
309
|
|
- printListing(child, path);
|
310
|
312
|
else {
|
311
|
313
|
SERIAL_ECHO_MSG(STR_SD_CANT_OPEN_SUBDIR, dosFilename);
|
312
|
314
|
return;
|