diff --git a/Firmware/cardreader.cpp b/Firmware/cardreader.cpp index 05bfdd19..6f845666 100644 --- a/Firmware/cardreader.cpp +++ b/Firmware/cardreader.cpp @@ -781,8 +781,6 @@ void CardReader::presort() { } lcd_clear(); - // uint32_t positions[fileCnt]; - // By default re-read the names from SD for every compare // retaining only two filenames at a time. This is very // slow but is safest and uses minimal RAM. @@ -794,7 +792,6 @@ void CardReader::presort() { uint16_t dirCnt = 0; #endif - //might need to also load the file at position 0 for filenameIsDir to work on the first file if (fileCnt > 1) { // Init sort order. for (uint16_t i = 0; i < fileCnt; i++) {