소스 검색

Remove redundant position=0 in ::presort

Alex Voinea 3 년 전
부모
커밋
8a068d4d36
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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.