Browse Source

Wrap call to flush_presort

Scott Lahteine 10 years ago
parent
commit
49791949af
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/cardreader.cpp

+ 3
- 1
Marlin/cardreader.cpp View File

@@ -211,7 +211,9 @@ void CardReader::startFileprint()
211 211
   if(cardOK)
212 212
   {
213 213
     sdprinting = true;
214
-    flush_presort();
214
+    #ifdef SDCARD_SORT_ALPHA
215
+      flush_presort();
216
+    #endif
215 217
   }
216 218
 }
217 219
 

Loading…
Cancel
Save