Browse Source

Bugfix: Multiple M77 no longer increment the print counter

pull/1/head
João Brázio 9 years ago
committed by Scott Lahteine
parent
commit
b660f1bdb8
  1. 2
      Marlin/printcounter.cpp

2
Marlin/printcounter.cpp

@ -149,7 +149,9 @@ void PrintCounter::stop() {
PrintCounter::debug(PSTR("stop")); PrintCounter::debug(PSTR("stop"));
#endif #endif
if (!this->isRunning()) return;
super::stop(); super::stop();
this->data.finishedPrints++; this->data.finishedPrints++;
this->data.printTime += this->deltaDuration(); this->data.printTime += this->deltaDuration();
this->saveStats(); this->saveStats();

Loading…
Cancel
Save