Wait before turning off PRINTER_EVENT_LEDS at print end (#10248)
This commit is contained in:
@@ -449,12 +449,19 @@ inline void get_serial_commands() {
|
||||
LCD_MESSAGEPGM(MSG_INFO_COMPLETED_PRINTS);
|
||||
leds.set_green();
|
||||
#if HAS_RESUME_CONTINUE
|
||||
enqueue_and_echo_commands_P(PSTR("M0")); // end of the queue!
|
||||
gcode.lights_off_after_print = true;
|
||||
enqueue_and_echo_commands_P(PSTR("M0 S"
|
||||
#if ENABLED(NEWPANEL)
|
||||
"1800"
|
||||
#else
|
||||
"60"
|
||||
#endif
|
||||
));
|
||||
#else
|
||||
safe_delay(1000);
|
||||
safe_delay(2000);
|
||||
leds.set_off();
|
||||
#endif
|
||||
leds.set_off();
|
||||
#endif
|
||||
#endif // PRINTER_EVENT_LEDS
|
||||
card.checkautostart(true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user