Browse Source

Minor #warning fix for PrintCounter

pull/1/head
João Brázio 8 years ago
parent
commit
eafa16a781
No known key found for this signature in database GPG Key ID: F62CFD37DFFDB540
  1. 2
      Marlin/printcounter.cpp
  2. 2
      Marlin/printcounter.h

2
Marlin/printcounter.cpp

@ -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;
}

2
Marlin/printcounter.h

@ -25,6 +25,8 @@
#include "macros.h"
#include "stopwatch.h"
#include <avr/eeprom.h>
// Print debug messages with M111 S2
//#define DEBUG_PRINTCOUNTER

Loading…
Cancel
Save