fix workDirDepth not reset after card init.

This commit is contained in:
leptun 2019-09-29 21:09:11 +03:00
parent ddc9cf6336
commit bf09eb943d

View file

@ -203,6 +203,7 @@ void CardReader::initsd()
}
workDir=root;
curDir=&root;
workDirDepth = 0;
#ifdef SDCARD_SORT_ALPHA
presort();