Use static classes for job timers (#9940)

This commit is contained in:
Scott Lahteine
2018-03-04 22:52:25 -06:00
committed by GitHub
parent bc08ce86be
commit f0d8d76f68
11 changed files with 193 additions and 173 deletions

View File

@@ -44,12 +44,6 @@
#include "utility.h"
#include "serial.h"
#if ENABLED(PRINTCOUNTER)
#include "printcounter.h"
#else
#include "stopwatch.h"
#endif
void idle(
#if ENABLED(ADVANCED_PAUSE_FEATURE)
bool no_stepper_sleep = false // pass true to keep steppers from disabling on timeout
@@ -459,13 +453,6 @@ void report_current_position();
extern int lpq_len;
#endif
// Print job timer
#if ENABLED(PRINTCOUNTER)
extern PrintCounter print_job_timer;
#else
extern Stopwatch print_job_timer;
#endif
// Handling multiple extruders pins
extern uint8_t active_extruder;