Bugfix: Multiple M77 no longer increment the print counter
This commit is contained in:
parent
a713043acd
commit
b660f1bdb8
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue