Only report finished prints longer than 1 min
This commit is contained in:
parent
cebeb48005
commit
229f70f194
1 changed files with 2 additions and 1 deletions
|
@ -614,7 +614,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"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue