reset cmdqueue in the end of test if file is complete, no sorting in the end of print

This commit is contained in:
PavelSindler 2017-10-12 14:23:45 +02:00
parent 5601dd276d
commit 56d38a8a10
2 changed files with 2 additions and 1 deletions

View File

@ -1053,7 +1053,7 @@ void CardReader::printingHasFinished()
}
autotempShutdown();
#ifdef SDCARD_SORT_ALPHA
presort();
//presort();
#endif
}
}

View File

@ -5773,6 +5773,7 @@ static bool check_file(const char* filename) {
get_command();
result = check_commands();
}
cmdqueue_reset();
card.printingHasFinished();
strncpy_P(lcd_status_message, WELCOME_MSG, LCD_WIDTH);
return result;