Browse Source

Remove commented out code and deprecated comments

Alex Voinea 3 years ago
parent
commit
a95d497289
1 changed files with 0 additions and 3 deletions
  1. 0 3
      Firmware/cardreader.cpp

+ 0 - 3
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++) {