Browse Source

Create DEBUG_LEVELING_FEATURE

Richard Wackerbarth 10 years ago
parent
commit
20b4772155
4 changed files with 391 additions and 256 deletions
  1. 3
    2
      Marlin/Configuration.h
  2. 2
    1
      Marlin/Marlin.h
  3. 385
    253
      Marlin/Marlin_main.cpp
  4. 1
    0
      Marlin/language.h

+ 3
- 2
Marlin/Configuration.h View File

@@ -510,8 +510,9 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
510 510
   //#define Z_PROBE_SLED // Turn on if you have a Z probe mounted on a sled like those designed by Charles Bell.
511 511
   //#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
512 512
 
513
-// If you have enabled the bed auto leveling and are using the same Z probe for Z homing,
514
-// it is highly recommended you let this Z_SAFE_HOMING enabled!!!
513
+
514
+  //If you have enabled the Bed Auto Leveling and are using the same Z Probe for Z Homing,
515
+  //it is highly recommended you let this Z_SAFE_HOMING enabled!!!
515 516
 
516 517
   #define Z_SAFE_HOMING   // This feature is meant to avoid Z homing with Z probe outside the bed area.
517 518
                           // When defined, it will:

+ 2
- 1
Marlin/Marlin.h View File

@@ -221,7 +221,8 @@ enum DebugFlags {
221 221
   DEBUG_INFO          = BIT(1),
222 222
   DEBUG_ERRORS        = BIT(2),
223 223
   DEBUG_DRYRUN        = BIT(3),
224
-  DEBUG_COMMUNICATION = BIT(4)
224
+  DEBUG_COMMUNICATION = BIT(4),
225
+  DEBUG_LEVELING      = BIT(5)
225 226
 };
226 227
 extern uint8_t marlin_debug_flags;
227 228
 

+ 385
- 253
Marlin/Marlin_main.cpp
File diff suppressed because it is too large
View File


+ 1
- 0
Marlin/language.h View File

@@ -214,6 +214,7 @@
214 214
 #define MSG_DEBUG_INFO                      "DEBUG INFO ENABLED"
215 215
 #define MSG_DEBUG_ERRORS                    "DEBUG ERRORS ENABLED"
216 216
 #define MSG_DEBUG_DRYRUN                    "DEBUG DRYRUN ENABLED"
217
+#define MSG_DEBUG_LEVELING                  "DEBUG LEVELING ENABLED"
217 218
 
218 219
 // LCD Menu Messages
219 220
 

Loading…
Cancel
Save