Skip to content

Commit 7f79d0c

Browse files
committed
close roor dir after listing files
1 parent 28edff4 commit 7f79d0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/companion_radio/MyMesh.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,6 +1326,7 @@ void MyMesh::checkCLIRescueCmd() {
13261326
file = root.openNextFile();
13271327

13281328
}
1329+
root.close();
13291330
}
13301331

13311332
} else if (memcmp(cli_command, "cat", 3) == 0) {

0 commit comments

Comments
 (0)