Browse Source

Move TOPO_ORIGIN define to Configuration.h

- Addressing issue #1608
Scott Lahteine 9 years ago
parent
commit
a686c9878f

+ 5
- 0
Marlin/Configuration.h View File

@@ -398,6 +398,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic o
398 398
 
399 399
   #ifdef AUTO_BED_LEVELING_GRID
400 400
 
401
+    // Use one of these defines to specify the origin
402
+    // for a topographical map to be printed for your bed.
403
+    enum { OriginBackLeft, OriginFrontLeft, OriginBackRight, OriginFrontRight };
404
+    #define TOPO_ORIGIN OriginFrontLeft
405
+
401 406
     // The edges of the rectangle in which to probe
402 407
     #define LEFT_PROBE_BED_POSITION 15
403 408
     #define RIGHT_PROBE_BED_POSITION 170

+ 0
- 6
Marlin/Marlin_main.cpp View File

@@ -1854,12 +1854,6 @@ inline void gcode_G28() {
1854 1854
    *     Usage: "G29 E" or "G29 e"
1855 1855
    *
1856 1856
    */
1857
-
1858
-  // Use one of these defines to specify the origin
1859
-  // for a topographical map to be printed for your bed.
1860
-  enum { OriginBackLeft, OriginFrontLeft, OriginBackRight, OriginFrontRight };
1861
-  #define TOPO_ORIGIN OriginFrontLeft
1862
-
1863 1857
   inline void gcode_G29() {
1864 1858
 
1865 1859
     // Prevent user from running a G29 without first homing in X and Y

+ 5
- 0
Marlin/configurator/config/Configuration.h View File

@@ -438,6 +438,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
438 438
 
439 439
   #ifdef AUTO_BED_LEVELING_GRID
440 440
 
441
+    // Use one of these defines to specify the origin
442
+    // for a topographical map to be printed for your bed.
443
+    enum { OriginBackLeft, OriginFrontLeft, OriginBackRight, OriginFrontRight };
444
+    #define TOPO_ORIGIN OriginFrontLeft
445
+
441 446
     // The edges of the rectangle in which to probe
442 447
     #define LEFT_PROBE_BED_POSITION 15
443 448
     #define RIGHT_PROBE_BED_POSITION 170

+ 5
- 0
Marlin/example_configurations/Felix/Configuration.h View File

@@ -384,6 +384,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
384 384
   // Note: this feature occupies 10'206 byte
385 385
   #ifdef AUTO_BED_LEVELING_GRID
386 386
 
387
+    // Use one of these defines to specify the origin
388
+    // for a topographical map to be printed for your bed.
389
+    enum { OriginBackLeft, OriginFrontLeft, OriginBackRight, OriginFrontRight };
390
+    #define TOPO_ORIGIN OriginFrontLeft
391
+
387 392
     // set the rectangle in which to probe
388 393
     #define LEFT_PROBE_BED_POSITION 15
389 394
     #define RIGHT_PROBE_BED_POSITION 170

+ 5
- 0
Marlin/example_configurations/Felix/Configuration_DUAL.h View File

@@ -384,6 +384,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
384 384
   // Note: this feature occupies 10'206 byte
385 385
   #ifdef AUTO_BED_LEVELING_GRID
386 386
 
387
+    // Use one of these defines to specify the origin
388
+    // for a topographical map to be printed for your bed.
389
+    enum { OriginBackLeft, OriginFrontLeft, OriginBackRight, OriginFrontRight };
390
+    #define TOPO_ORIGIN OriginFrontLeft
391
+
387 392
     // set the rectangle in which to probe
388 393
     #define LEFT_PROBE_BED_POSITION 15
389 394
     #define RIGHT_PROBE_BED_POSITION 170

+ 5
- 0
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -408,6 +408,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
408 408
 
409 409
   #ifdef AUTO_BED_LEVELING_GRID
410 410
 
411
+    // Use one of these defines to specify the origin
412
+    // for a topographical map to be printed for your bed.
413
+    enum { OriginBackLeft, OriginFrontLeft, OriginBackRight, OriginFrontRight };
414
+    #define TOPO_ORIGIN OriginFrontLeft
415
+
411 416
     // The edges of the rectangle in which to probe
412 417
     #define LEFT_PROBE_BED_POSITION 15
413 418
     #define RIGHT_PROBE_BED_POSITION 170

+ 5
- 0
Marlin/example_configurations/K8200/Configuration.h View File

@@ -413,6 +413,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
413 413
 
414 414
   #ifdef AUTO_BED_LEVELING_GRID
415 415
 
416
+    // Use one of these defines to specify the origin
417
+    // for a topographical map to be printed for your bed.
418
+    enum { OriginBackLeft, OriginFrontLeft, OriginBackRight, OriginFrontRight };
419
+    #define TOPO_ORIGIN OriginFrontLeft
420
+
416 421
     // The edges of the rectangle in which to probe
417 422
     #define LEFT_PROBE_BED_POSITION 15
418 423
     #define RIGHT_PROBE_BED_POSITION 170

+ 5
- 0
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -437,6 +437,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
437 437
 
438 438
   #ifdef AUTO_BED_LEVELING_GRID
439 439
 
440
+    // Use one of these defines to specify the origin
441
+    // for a topographical map to be printed for your bed.
442
+    enum { OriginBackLeft, OriginFrontLeft, OriginBackRight, OriginFrontRight };
443
+    #define TOPO_ORIGIN OriginFrontLeft
444
+
440 445
     // The edges of the rectangle in which to probe
441 446
     #define LEFT_PROBE_BED_POSITION 15
442 447
     #define RIGHT_PROBE_BED_POSITION 170

+ 5
- 0
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -407,6 +407,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
407 407
 
408 408
   #ifdef AUTO_BED_LEVELING_GRID
409 409
 
410
+    // Use one of these defines to specify the origin
411
+    // for a topographical map to be printed for your bed.
412
+    enum { OriginBackLeft, OriginFrontLeft, OriginBackRight, OriginFrontRight };
413
+    #define TOPO_ORIGIN OriginFrontLeft
414
+
410 415
     // The edges of the rectangle in which to probe
411 416
     #define LEFT_PROBE_BED_POSITION 15
412 417
     #define RIGHT_PROBE_BED_POSITION 170

+ 5
- 0
Marlin/example_configurations/makibox/Configuration.h View File

@@ -405,6 +405,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
405 405
 
406 406
   #ifdef AUTO_BED_LEVELING_GRID
407 407
 
408
+    // Use one of these defines to specify the origin
409
+    // for a topographical map to be printed for your bed.
410
+    enum { OriginBackLeft, OriginFrontLeft, OriginBackRight, OriginFrontRight };
411
+    #define TOPO_ORIGIN OriginFrontLeft
412
+
408 413
     // The edges of the rectangle in which to probe
409 414
     #define LEFT_PROBE_BED_POSITION 15
410 415
     #define RIGHT_PROBE_BED_POSITION 170

+ 5
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -407,6 +407,11 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
407 407
 
408 408
   #ifdef AUTO_BED_LEVELING_GRID
409 409
 
410
+    // Use one of these defines to specify the origin
411
+    // for a topographical map to be printed for your bed.
412
+    enum { OriginBackLeft, OriginFrontLeft, OriginBackRight, OriginFrontRight };
413
+    #define TOPO_ORIGIN OriginFrontLeft
414
+
410 415
     // The edges of the rectangle in which to probe
411 416
     #define LEFT_PROBE_BED_POSITION 15
412 417
     #define RIGHT_PROBE_BED_POSITION 170

Loading…
Cancel
Save