Print progress enhancements (#14647)
This commit is contained in:
committed by
Scott Lahteine
parent
ebb1a7dc1f
commit
27c487bab7
@ -28,6 +28,9 @@
|
||||
*/
|
||||
void GcodeSuite::M117() {
|
||||
|
||||
ui.set_status(parser.string_arg);
|
||||
if (parser.string_arg && parser.string_arg[0])
|
||||
ui.set_status(parser.string_arg);
|
||||
else
|
||||
ui.reset_status();
|
||||
|
||||
}
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "../../inc/MarlinConfig.h"
|
||||
|
||||
#if ENABLED(LCD_SET_PROGRESS_MANUALLY) && EITHER(EXTENSIBLE_UI, ULTRA_LCD)
|
||||
#if ENABLED(LCD_SET_PROGRESS_MANUALLY)
|
||||
|
||||
#include "../gcode.h"
|
||||
#include "../../lcd/ultralcd.h"
|
||||
@ -42,4 +42,4 @@ void GcodeSuite::M73() {
|
||||
ui.set_progress(parser.value_byte());
|
||||
}
|
||||
|
||||
#endif // LCD_SET_PROGRESS_MANUALLY && (EXTENSIBLE_UI || ULTRA_LCD)
|
||||
#endif // LCD_SET_PROGRESS_MANUALLY
|
||||
|
Reference in New Issue
Block a user