From a95d4972892fd9d151432936a385a91b447fdac0 Mon Sep 17 00:00:00 2001
From: Alex Voinea <voinea.dragos.alexandru@gmail.com>
Date: Wed, 10 Feb 2021 13:45:30 +0200
Subject: [PATCH] Remove commented out code and deprecated comments

---
 Firmware/cardreader.cpp | 3 ---
 1 file changed, 3 deletions(-)

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