Remove commented out code and deprecated comments
This commit is contained in:
parent
8a068d4d36
commit
a95d497289
|
|
@ -781,8 +781,6 @@ void CardReader::presort() {
|
||||||
}
|
}
|
||||||
lcd_clear();
|
lcd_clear();
|
||||||
|
|
||||||
// uint32_t positions[fileCnt];
|
|
||||||
|
|
||||||
// By default re-read the names from SD for every compare
|
// By default re-read the names from SD for every compare
|
||||||
// retaining only two filenames at a time. This is very
|
// retaining only two filenames at a time. This is very
|
||||||
// slow but is safest and uses minimal RAM.
|
// slow but is safest and uses minimal RAM.
|
||||||
|
|
@ -794,7 +792,6 @@ void CardReader::presort() {
|
||||||
uint16_t dirCnt = 0;
|
uint16_t dirCnt = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//might need to also load the file at position 0 for filenameIsDir to work on the first file
|
|
||||||
if (fileCnt > 1) {
|
if (fileCnt > 1) {
|
||||||
// Init sort order.
|
// Init sort order.
|
||||||
for (uint16_t i = 0; i < fileCnt; i++) {
|
for (uint16_t i = 0; i < fileCnt; i++) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue