Bugfix: Multiple M77 no longer increment the print counter

This commit is contained in:
João Brázio authored and Scott Lahteine committed 2016-05-14 15:22:43 -07:00
1 parent a713043acd
commit b660f1bdb8
1 file changed
+2
+2
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();