Sfoglia il codice sorgente

Clear progress bar on completion (#10333)

Fix #10330
Marcio Teixeira 6 anni fa
parent
commit
2efc072fdb
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      Marlin/src/sd/cardreader.cpp

+ 3
- 0
Marlin/src/sd/cardreader.cpp Vedi File

@@ -977,6 +977,9 @@ void CardReader::printingHasFinished() {
977 977
     #if ENABLED(SDCARD_SORT_ALPHA)
978 978
       presort();
979 979
     #endif
980
+    #if ENABLED(ULTRA_LCD) && ENABLED(LCD_SET_PROGRESS_MANUALLY)
981
+      progress_bar_percent = 0;
982
+    #endif
980 983
     #if ENABLED(SD_REPRINT_LAST_SELECTED_FILE)
981 984
       lcd_reselect_last_file();
982 985
     #endif

Loading…
Annulla
Salva