Skip to content
Snippets Groups Projects
Commit a454a88f authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Merge pull request #3722 from jbrazio/bugfix/printcounter

Minor #warning fix for PrintCounter
parents 03bda5c1 eafa16a7
Branches
Tags
No related merge requests found
......@@ -22,7 +22,6 @@
#include "Marlin.h"
#include "printcounter.h"
#include <avr/eeprom.h>
PrintCounter::PrintCounter(): super() {
this->loadStats();
......@@ -123,7 +122,6 @@ void PrintCounter::tick() {
PrintCounter::debug(PSTR("tick"));
#endif
uint16_t t = this->duration();;
this->data.printTime += this->deltaDuration();
update_before = now;
}
......
......
......@@ -25,6 +25,8 @@
#include "macros.h"
#include "stopwatch.h"
#include <avr/eeprom.h>
// Print debug messages with M111 S2
//#define DEBUG_PRINTCOUNTER
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment