Print progress enhancements (#14647)

This commit is contained in:
Marcio Teixeira authored and Scott Lahteine committed 2019-07-17 03:14:44 -05:00
1 parent ebb1a7dc1f
commit 27c487bab7
13 files changed
+31 -17

No files matched your search

+5
View File
@@ -26,6 +26,7 @@
#include "../gcode.h"
#include "../../sd/cardreader.h"
#include "../../lcd/ultralcd.h"
/**
* M23: Open a file
@@ -36,6 +37,10 @@ void GcodeSuite::M23() {
// Simplify3D includes the size, so zero out all spaces (#7227)
for (char *fn = parser.string_arg; *fn; ++fn) if (*fn == ' ') *fn = '\0';
card.openFile(parser.string_arg, true);
#if ENABLED(LCD_SET_PROGRESS_MANUALLY)
ui.set_progress(0);
#endif
}
#endif // SDSUPPORT