Skip to content

Commit 1954221

Browse files
committed
Closing directory after opening it in example
1 parent 74f6184 commit 1954221

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/SPIFFSDirectories/SPIFFSDirectories.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ void setup()
5050
Serial.print(entry.name());
5151
Serial.println();
5252
}
53+
dir.closedir();
5354

5455
Serial.println("Unmounting ...");
5556
filesystem.unmount();

0 commit comments

Comments
 (0)