Bugfix: Multiple M77 no longer increment the print counter

This commit is contained in:
João Brázio 2016-05-14 22:00:40 +01:00 committed by Scott Lahteine
parent a713043acd
commit b660f1bdb8

View file

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