Преглед на файлове

Apply UBL mesh bounds to remaining configs

Scott Lahteine преди 7 години
родител
ревизия
2b88ccd0aa

+ 1
- 3
Marlin/Configuration_adv.h Целия файл

@@ -648,9 +648,7 @@
648 648
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
649 649
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
650 650
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
651
-#endif
652
-
653
-#if ENABLED(AUTO_BED_LEVELING_UBL)
651
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
654 652
   #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
655 653
   #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
656 654
   #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)

+ 5
- 0
Marlin/example_configurations/Cartesio/Configuration_adv.h Целия файл

@@ -645,6 +645,11 @@
645 645
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
646 646
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
647 647
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
648
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
649
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
650
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
651
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
652
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
648 653
 #endif
649 654
 
650 655
 // @section extras

+ 5
- 0
Marlin/example_configurations/Felix/Configuration_adv.h Целия файл

@@ -645,6 +645,11 @@
645 645
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
646 646
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
647 647
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
648
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
649
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
650
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
651
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
652
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
648 653
 #endif
649 654
 
650 655
 // @section extras

+ 5
- 0
Marlin/example_configurations/Hephestos/Configuration_adv.h Целия файл

@@ -645,6 +645,11 @@
645 645
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
646 646
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
647 647
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
648
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
649
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
650
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
651
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
652
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
648 653
 #endif
649 654
 
650 655
 // @section extras

+ 5
- 0
Marlin/example_configurations/Hephestos_2/Configuration_adv.h Целия файл

@@ -629,6 +629,11 @@
629 629
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
630 630
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
631 631
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
632
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
633
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
634
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
635
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
636
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
632 637
 #endif
633 638
 
634 639
 // @section extras

+ 5
- 0
Marlin/example_configurations/K8200/Configuration_adv.h Целия файл

@@ -658,6 +658,11 @@
658 658
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
659 659
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
660 660
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
661
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
662
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
663
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
664
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
665
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
661 666
 #endif
662 667
 
663 668
 // @section extras

+ 5
- 0
Marlin/example_configurations/K8400/Configuration_adv.h Целия файл

@@ -645,6 +645,11 @@
645 645
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
646 646
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
647 647
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
648
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
649
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
650
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
651
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
652
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
648 653
 #endif
649 654
 
650 655
 // @section extras

+ 5
- 0
Marlin/example_configurations/RigidBot/Configuration_adv.h Целия файл

@@ -645,6 +645,11 @@
645 645
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
646 646
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
647 647
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
648
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
649
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
650
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
651
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
652
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
648 653
 #endif
649 654
 
650 655
 // @section extras

+ 5
- 0
Marlin/example_configurations/SCARA/Configuration_adv.h Целия файл

@@ -645,6 +645,11 @@
645 645
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
646 646
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
647 647
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
648
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
649
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
650
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
651
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
652
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
648 653
 #endif
649 654
 
650 655
 // @section extras

+ 5
- 0
Marlin/example_configurations/TAZ4/Configuration_adv.h Целия файл

@@ -653,6 +653,11 @@
653 653
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
654 654
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
655 655
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
656
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
657
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
658
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
659
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
660
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
656 661
 #endif
657 662
 
658 663
 // @section extras

+ 1
- 3
Marlin/example_configurations/TinyBoy2/Configuration_adv.h Целия файл

@@ -630,9 +630,7 @@
630 630
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
631 631
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
632 632
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
633
-#endif
634
-
635
-#if ENABLED(AUTO_BED_LEVELING_UBL)
633
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
636 634
   #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
637 635
   #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
638 636
   #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)

+ 5
- 0
Marlin/example_configurations/WITBOX/Configuration_adv.h Целия файл

@@ -645,6 +645,11 @@
645 645
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
646 646
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
647 647
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
648
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
649
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
650
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
651
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
652
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
648 653
 #endif
649 654
 
650 655
 // @section extras

+ 5
- 0
Marlin/example_configurations/delta/generic/Configuration_adv.h Целия файл

@@ -647,6 +647,11 @@
647 647
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
648 648
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
649 649
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
650
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
651
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
652
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
653
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
654
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
650 655
 #endif
651 656
 
652 657
 // @section extras

+ 5
- 0
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h Целия файл

@@ -647,6 +647,11 @@
647 647
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
648 648
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
649 649
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
650
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
651
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
652
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
653
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
654
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
650 655
 #endif
651 656
 
652 657
 // @section extras

+ 5
- 0
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h Целия файл

@@ -652,6 +652,11 @@
652 652
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
653 653
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
654 654
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
655
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
656
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
657
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
658
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
659
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
655 660
 #endif
656 661
 
657 662
 // @section extras

+ 5
- 0
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h Целия файл

@@ -647,6 +647,11 @@
647 647
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
648 648
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
649 649
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
650
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
651
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
652
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
653
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
654
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
650 655
 #endif
651 656
 
652 657
 // @section extras

+ 5
- 0
Marlin/example_configurations/makibox/Configuration_adv.h Целия файл

@@ -645,6 +645,11 @@
645 645
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
646 646
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
647 647
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
648
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
649
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
650
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
651
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
652
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
648 653
 #endif
649 654
 
650 655
 // @section extras

+ 5
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h Целия файл

@@ -645,6 +645,11 @@
645 645
   #define MESH_MAX_X (X_MAX_POS - (MESH_INSET))
646 646
   #define MESH_MIN_Y (Y_MIN_POS + MESH_INSET)
647 647
   #define MESH_MAX_Y (Y_MAX_POS - (MESH_INSET))
648
+#elif ENABLED(AUTO_BED_LEVELING_UBL)
649
+  #define UBL_MESH_MIN_X (X_MIN_POS + UBL_MESH_INSET)
650
+  #define UBL_MESH_MAX_X (X_MAX_POS - (UBL_MESH_INSET))
651
+  #define UBL_MESH_MIN_Y (Y_MIN_POS + UBL_MESH_INSET)
652
+  #define UBL_MESH_MAX_Y (Y_MAX_POS - (UBL_MESH_INSET))
648 653
 #endif
649 654
 
650 655
 // @section extras

Loading…
Отказ
Запис