Merge pull request #4516 from thinkyhead/rc_short_prints_quiet

Only report finished prints longer than 1 min
2.0.x
Scott Lahteine 9 years ago committed by GitHub
commit 704ae1b737

@ -616,7 +616,8 @@ void CardReader::printingHasFinished() {
if (SD_FINISHED_STEPPERRELEASE) if (SD_FINISHED_STEPPERRELEASE)
enqueue_and_echo_commands_P(PSTR(SD_FINISHED_RELEASECOMMAND)); enqueue_and_echo_commands_P(PSTR(SD_FINISHED_RELEASECOMMAND));
print_job_timer.stop(); print_job_timer.stop();
enqueue_and_echo_commands_P(PSTR("M31")); if (print_job_timer.duration() > 60)
enqueue_and_echo_commands_P(PSTR("M31"));
} }
} }

Loading…
Cancel
Save