Ver código fonte

Updated the default configuration and fixed a printcounter.h typo

João Brázio 8 anos atrás
pai
commit
e2da7e5000
Nenhuma conta vinculada ao e-mail do autor do commit
2 arquivos alterados com 14 adições e 1 exclusões
  1. 13
    0
      Marlin/Configuration.h
  2. 1
    1
      Marlin/printcounter.h

+ 13
- 0
Marlin/Configuration.h Ver arquivo

@@ -757,6 +757,19 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
757 757
 #define ABS_PREHEAT_HPB_TEMP 110
758 758
 #define ABS_PREHEAT_FAN_SPEED 0   // Insert Value between 0 and 255
759 759
 
760
+
761
+//
762
+// Print Counter
763
+//
764
+// When enabled Marlin will keep track of some print statistical data such as:
765
+//  - Total print jobs
766
+//  - Total successfull print jobs
767
+//  - Total failed print jobs
768
+//  - Total time printing
769
+//
770
+// This information can be viewed by the M78 command.
771
+//#define PRINTCOUNTER
772
+
760 773
 //=============================================================================
761 774
 //============================= LCD and SD support ============================
762 775
 //=============================================================================

+ 1
- 1
Marlin/printcounter.h Ver arquivo

@@ -71,7 +71,7 @@ class PrintCounter: public Stopwatch {
71 71
      * EEPROM save cycle, the development team recommends to set this value
72 72
      * no lower than 3600 secs (1 hour).
73 73
      */
74
-    const uint16_t saveInterval = PRINTCOUNTER_SAVE_INTERVAL;
74
+    const uint16_t saveInterval = 3600;
75 75
 
76 76
     /**
77 77
      * @brief Stats were loaded from EERPROM

Carregando…
Cancelar
Salvar