Consolidate PrintCounter

This commit is contained in:
Scott Lahteine
2017-09-09 00:18:43 -05:00
parent 551752eac7
commit d5fe0fb02b
8 changed files with 33 additions and 28 deletions

View File

@@ -32,12 +32,6 @@
#include "gcode/parser.h"
#endif
#if ENABLED(PRINTCOUNTER)
#include "module/printcounter.h"
#else
#include "libs/stopwatch.h"
#endif
void stop();
void idle(
@@ -234,13 +228,6 @@ extern volatile bool wait_for_heatup;
extern int lpq_len;
#endif
// Print job timer
#if ENABLED(PRINTCOUNTER)
extern PrintCounter print_job_timer;
#else
extern Stopwatch print_job_timer;
#endif
#if ENABLED(MIXING_EXTRUDER)
extern float mixing_factor[MIXING_STEPPERS];
#if MIXING_VIRTUAL_TOOLS > 1