Show print time with PRINTER_EVENT_LEDS

This commit is contained in:
Scott Lahteine committed 2020-02-09 11:37:43 -06:00
1 parent 38873596ec
commit 0ce83dee95
2 files changed
+5 -10

No files matched your search

+2 -3
View File
@@ -163,8 +163,7 @@ bool GCodeQueue::enqueue_one(const char* cmd) {
if (*cmd == 0 || *cmd == '\n' || *cmd == '\r') return true;
if (_enqueue(cmd)) {
SERIAL_ECHO_START();
SERIAL_ECHOLNPAIR(MSG_ENQUEUEING, cmd, "\"");
SERIAL_ECHO_MSG(MSG_ENQUEUEING, cmd, "\"");
return true;
}
return false;
@@ -517,7 +516,7 @@ void GCodeQueue::get_serial_commands() {
#if ENABLED(PRINTER_EVENT_LEDS)
printerEventLEDs.onPrintCompleted();
#if HAS_RESUME_CONTINUE
inject_P(PSTR("M0 S"
inject_P(PSTR("M0 Q S"
#if HAS_LCD_MENU
"1800"
#else