Skip to content
Snippets Groups Projects
Commit b660f1bd authored by João Brázio's avatar João Brázio Committed by Scott Lahteine
Browse files

Bugfix: Multiple M77 no longer increment the print counter

parent a713043a
No related branches found
No related tags found
No related merge requests found
...@@ -149,7 +149,9 @@ void PrintCounter::stop() { ...@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment