Skip to content

Commit 7db0080

Browse files
committed
Adjust folder filtering for marlinkimbra
which display all files / subfiles/ folders and subfolders
1 parent 4d8012d commit 7db0080

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

esp3d/webinterface.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3403,7 +3403,7 @@ void handleSDFileList()
34033403
LOG( CONFIG::formatBytes(ssize.toInt()));
34043404
}
34053405
#endif
3406-
#if FIRMWARE_TARGET == MARLIN || FIRMWARE_TARGET == MARLINKIMBRA
3406+
#if FIRMWARE_TARGET == MARLIN
34073407
jsonfile+=sname;
34083408
jsonfile+="\",\"size\":\"";
34093409
LOG(String(i+1));
@@ -3417,7 +3417,7 @@ void handleSDFileList()
34173417
// }
34183418
LOG("\r\n");
34193419
#endif
3420-
#if FIRMWARE_TARGET == SMOOTHIEWARE
3420+
#if FIRMWARE_TARGET == SMOOTHIEWARE || FIRMWARE_TARGET == MARLINKIMBRA
34213421
jsonfile+=sname;
34223422
jsonfile+="\",\"size\":\"";
34233423
LOG(String(i+1));

0 commit comments

Comments
 (0)