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