dont flush presort at the beginning of the print
This commit is contained in:
parent
3ec227c02e
commit
6c8f304809
|
|
@ -246,7 +246,7 @@ void CardReader::startFileprint()
|
||||||
{
|
{
|
||||||
sdprinting = true;
|
sdprinting = true;
|
||||||
#ifdef SDCARD_SORT_ALPHA
|
#ifdef SDCARD_SORT_ALPHA
|
||||||
flush_presort();
|
// flush_presort();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1047,7 +1047,7 @@ void CardReader::printingHasFinished()
|
||||||
}
|
}
|
||||||
autotempShutdown();
|
autotempShutdown();
|
||||||
#ifdef SDCARD_SORT_ALPHA
|
#ifdef SDCARD_SORT_ALPHA
|
||||||
presort();
|
//if(!check_file) presort();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4959,9 +4959,9 @@ void lcd_sdcard_menu()
|
||||||
uint8_t sdSort = eeprom_read_byte((uint8_t*)EEPROM_SD_SORT);
|
uint8_t sdSort = eeprom_read_byte((uint8_t*)EEPROM_SD_SORT);
|
||||||
|
|
||||||
if (presort_flag == true) {
|
if (presort_flag == true) {
|
||||||
presort_flag = false;
|
presort_flag = false;
|
||||||
card.presort();
|
card.presort();
|
||||||
}
|
}
|
||||||
if (lcdDrawUpdate == 0 && LCD_CLICKED == 0)
|
if (lcdDrawUpdate == 0 && LCD_CLICKED == 0)
|
||||||
//delay(100);
|
//delay(100);
|
||||||
return; // nothing to do (so don't thrash the SD card)
|
return; // nothing to do (so don't thrash the SD card)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue