fix workDirDepth not reset after card init.
This commit is contained in:
parent
ddc9cf6336
commit
bf09eb943d
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue