Browse Source

Merge pull request #1190 from thinkyhead/sd_sorting

Wrap call to flush_presort
Bo Herrmannsen 10 years ago
parent
commit
bd22405412
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/cardreader.cpp

+ 3
- 1
Marlin/cardreader.cpp View File

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

Loading…
Cancel
Save