From e2da7e5000c64e2179bb2748dfa96d45f9f0a4c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Br=C3=A1zio?= Date: Wed, 27 Apr 2016 02:27:23 +0100 Subject: [PATCH] Updated the default configuration and fixed a printcounter.h typo --- Marlin/Configuration.h | 13 +++++++++++++ Marlin/printcounter.h | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index edbeb44ab7..c9a6245e98 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -757,6 +757,19 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l #define ABS_PREHEAT_HPB_TEMP 110 #define ABS_PREHEAT_FAN_SPEED 0 // Insert Value between 0 and 255 + +// +// Print Counter +// +// When enabled Marlin will keep track of some print statistical data such as: +// - Total print jobs +// - Total successfull print jobs +// - Total failed print jobs +// - Total time printing +// +// This information can be viewed by the M78 command. +//#define PRINTCOUNTER + //============================================================================= //============================= LCD and SD support ============================ //============================================================================= diff --git a/Marlin/printcounter.h b/Marlin/printcounter.h index e2410104b0..6a4e4c784a 100644 --- a/Marlin/printcounter.h +++ b/Marlin/printcounter.h @@ -71,7 +71,7 @@ class PrintCounter: public Stopwatch { * EEPROM save cycle, the development team recommends to set this value * no lower than 3600 secs (1 hour). */ - const uint16_t saveInterval = PRINTCOUNTER_SAVE_INTERVAL; + const uint16_t saveInterval = 3600; /** * @brief Stats were loaded from EERPROM