Clean up autostart handling

This commit is contained in:
Scott Lahteine 2018-04-30 23:38:02 -05:00
parent 0d7c559139
commit 3c5f0ce858
4 changed files with 42 additions and 49 deletions

View file

@ -1200,7 +1200,6 @@ inline void get_serial_commands() {
leds.set_off();
#endif
#endif // PRINTER_EVENT_LEDS
card.checkautostart(true);
}
}
else if (n == -1) {
@ -14413,7 +14412,7 @@ void loop() {
#if ENABLED(SDSUPPORT)
card.checkautostart(false);
card.checkautostart();
#if ENABLED(ULTIPANEL)
if (abort_sd_printing) {