disable recursive listing for faster boot-up
This commit is contained in:
parent
04524cabb3
commit
d1512da5dc
1 changed files with 2 additions and 1 deletions
|
|
@ -436,7 +436,8 @@ void printDirectory(File dir, int numTabs) {
|
||||||
Serial.print(entry.name());
|
Serial.print(entry.name());
|
||||||
if (entry.isDirectory()) {
|
if (entry.isDirectory()) {
|
||||||
Serial.println("/");
|
Serial.println("/");
|
||||||
printDirectory(entry, numTabs+1);
|
//non-recursive listing...
|
||||||
|
// printDirectory(entry, numTabs+1);
|
||||||
} else {
|
} else {
|
||||||
// files have sizes, directories do not
|
// files have sizes, directories do not
|
||||||
Serial.print("\t\t");
|
Serial.print("\t\t");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue