mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 03:29:01 +08:00
Under marlin only files are listed
so no need to look after folder which could lead to false positif For smoothieware the usage of M20 is not working for subfolder so use ls instead and no need to use file cache
This commit is contained in:
parent
7626717d94
commit
f26e3c2608
BIN
esp3d/esp3d.ino.nodemcu.bin
Normal file
BIN
esp3d/esp3d.ino.nodemcu.bin
Normal file
Binary file not shown.
@ -3408,13 +3408,13 @@ void handleSDFileList()
|
||||
jsonfile+="\",\"size\":\"";
|
||||
LOG(String(i+1));
|
||||
LOG(sname);
|
||||
if (sname[0] == '/' || sname[sname.length()-1]=='/') {
|
||||
/* if (sname[0] == '/' || sname[sname.length()-1]=='/') {
|
||||
jsonfile+="-1";
|
||||
LOG(" -1");
|
||||
} else {
|
||||
} else {*/
|
||||
//nothing to add
|
||||
jsonfile+="";
|
||||
}
|
||||
// }
|
||||
LOG("\r\n");
|
||||
#endif
|
||||
jsonfile+="\"}";
|
||||
|
Loading…
x
Reference in New Issue
Block a user