Browse Source

ensure root path is usable

pull/377/head
liamcottle 1 year ago
parent
commit
a50f89f16f
  1. 2
      examples/companion_radio/MyMesh.cpp

2
examples/companion_radio/MyMesh.cpp

@ -1312,6 +1312,7 @@ void MyMesh::checkCLIRescueCmd() {
// log each file and directory // log each file and directory
File root = _store->openRead(path); File root = _store->openRead(path);
if(root){
File file = root.openNextFile(); File file = root.openNextFile();
while (file) { while (file) {
@ -1330,6 +1331,7 @@ void MyMesh::checkCLIRescueCmd() {
file = root.openNextFile(); file = root.openNextFile();
} }
}
} else if (memcmp(cli_command, "cat", 3) == 0) { } else if (memcmp(cli_command, "cat", 3) == 0) {

Loading…
Cancel
Save