Merge pull request #2240 from leptun/MK3_fix_SD_workDirDepth
fix workDirDepth not reset after card init.
This commit is contained in:
commit
d31abd4bce
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ void CardReader::initsd()
|
|||
}
|
||||
workDir=root;
|
||||
curDir=&root;
|
||||
workDirDepth = 0;
|
||||
|
||||
#ifdef SDCARD_SORT_ALPHA
|
||||
presort();
|
||||
|
|
Loading…
Reference in a new issue