Explorar o código

Remove redundant position=0 in ::presort

Alex Voinea %!s(int64=3) %!d(string=hai) anos
pai
achega
8a068d4d36
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Firmware/cardreader.cpp

+ 0 - 1
Firmware/cardreader.cpp

@@ -794,7 +794,6 @@ void CardReader::presort() {
 		uint16_t dirCnt = 0;
 		#endif
 
-		position = 0;
 		//might need to also load the file at position 0 for filenameIsDir to work on the first file
 		if (fileCnt > 1) {
 			// Init sort order.