Reset progress bar when print ends

Fix #10330
Based on #10333 by @marcio-ao
This commit is contained in:
Scott Lahteine 2018-04-06 20:12:40 -05:00
parent 8e36d00ad0
commit 211544b543

View File

@ -937,6 +937,9 @@ void CardReader::printingHasFinished() {
#if ENABLED(SDCARD_SORT_ALPHA)
presort();
#endif
#if ENABLED(ULTRA_LCD) && ENABLED(LCD_SET_PROGRESS_MANUALLY)
progress_bar_percent = 0;
#endif
#if ENABLED(SD_REPRINT_LAST_SELECTED_FILE)
lcd_reselect_last_file();
#endif