ソースを参照

Allow override of probe bounds in configs

Scott Lahteine 6年前
コミット
d7cc26cc17
1個のファイルの変更14行の追加0行の削除
  1. 14
    0
      Marlin/Conditionals_post.h

+ 14
- 0
Marlin/Conditionals_post.h ファイルの表示

@@ -931,6 +931,20 @@
931 931
     #define MAX_PROBE_Y (min(Y_MAX_BED, Y_MAX_POS + Y_PROBE_OFFSET_FROM_EXTRUDER))
932 932
   #endif
933 933
 
934
+  // Allow configuration to override these for special purposes
935
+  #ifndef MIN_PROBE_X
936
+    #define MIN_PROBE_X _MIN_PROBE_X
937
+  #endif
938
+  #ifndef MIN_PROBE_Y
939
+    #define MIN_PROBE_Y _MIN_PROBE_Y
940
+  #endif
941
+  #ifndef MAX_PROBE_X
942
+    #define MAX_PROBE_X _MAX_PROBE_X
943
+  #endif
944
+  #ifndef MAX_PROBE_Y
945
+    #define MAX_PROBE_Y _MAX_PROBE_Y
946
+  #endif
947
+
934 948
   /**
935 949
    * Default mesh area is an area with an inset margin on the print area.
936 950
    */

読み込み中…
キャンセル
保存