mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-18 23:49:49 +00:00
🐛 Reset workDirDepth in cdroot() (#22441)
This commit is contained in:
parent
296d0d495c
commit
4ca5f6da3f
1 changed files with 1 additions and 0 deletions
|
@ -1024,6 +1024,7 @@ int8_t CardReader::cdup() {
|
|||
void CardReader::cdroot() {
|
||||
workDir = root;
|
||||
flag.workDirIsRoot = true;
|
||||
workDirDepth = 0;
|
||||
TERN_(SDCARD_SORT_ALPHA, presort());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue