Browse Source

Only report finished prints longer than 1 min

pull/1/head
Scott Lahteine 9 years ago
parent
commit
229f70f194
  1. 1
      Marlin/cardreader.cpp

1
Marlin/cardreader.cpp

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

Loading…
Cancel
Save