Browse Source

Merge pull request #260 from PavelSindler/presort_after_print

presort files when print is finished
PavelSindler 7 years ago
parent
commit
f2d9c00103
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Firmware/cardreader.cpp

+ 2 - 2
Firmware/cardreader.cpp

@@ -246,7 +246,7 @@ void CardReader::startFileprint()
   {
     sdprinting = true;
     #ifdef SDCARD_SORT_ALPHA
-	  flush_presort();
+	 // flush_presort();
     #endif
   }
 }
@@ -1047,7 +1047,7 @@ void CardReader::printingHasFinished()
       }
       autotempShutdown();
 	  #ifdef SDCARD_SORT_ALPHA
-		//presort();
+		//if(!check_file)	presort();
 	  #endif
     }
 }