Browse Source

Remove code for testing if probing range is too small (PR#2390)

becaue it is over-restrictive and superseeded by the now working tests
if the probe-recktangle can be reached. See iss#2366
AnHardt 9 years ago
parent
commit
0e1cf78f5c
1 changed files with 0 additions and 30 deletions
  1. 0
    30
      Marlin/SanityCheck.h

+ 0
- 30
Marlin/SanityCheck.h View File

@@ -170,36 +170,6 @@
170 170
           #error "The given BACK_PROBE_BED_POSITION can't be reached by the probe."
171 171
         #endif
172 172
       #endif
173
-      #define PROBE_SIZE_X (X_PROBE_OFFSET_FROM_EXTRUDER * (AUTO_BED_LEVELING_GRID_POINTS-1))
174
-      #define PROBE_SIZE_Y (Y_PROBE_OFFSET_FROM_EXTRUDER * (AUTO_BED_LEVELING_GRID_POINTS-1))
175
-      #define PROBE_AREA_WIDTH (RIGHT_PROBE_BED_POSITION - LEFT_PROBE_BED_POSITION)
176
-      #define PROBE_AREA_DEPTH (BACK_PROBE_BED_POSITION - FRONT_PROBE_BED_POSITION)
177
-      #if X_PROBE_OFFSET_FROM_EXTRUDER < 0
178
-        #if PROBE_SIZE_X <= -PROBE_AREA_WIDTH
179
-          #define X_PROBE_ERROR
180
-        #endif
181
-      #elif PROBE_SIZE_X >= PROBE_AREA_WIDTH
182
-        #define X_PROBE_ERROR
183
-      #endif
184
-      #ifdef X_PROBE_ERROR
185
-        #error The X axis probing range is too small to fit all the points defined in AUTO_BED_LEVELING_GRID_POINTS.
186
-      #endif
187
-      #if Y_PROBE_OFFSET_FROM_EXTRUDER < 0
188
-        #if PROBE_SIZE_Y <= -PROBE_AREA_DEPTH
189
-          #define Y_PROBE_ERROR
190
-        #endif
191
-      #elif PROBE_SIZE_Y >= PROBE_AREA_DEPTH
192
-        #define Y_PROBE_ERROR
193
-      #endif
194
-      #ifdef Y_PROBE_ERROR
195
-        #error The Y axis probing range is too small to fit all the points defined in AUTO_BED_LEVELING_GRID_POINTS.
196
-      #endif
197
-
198
-      #undef PROBE_SIZE_X
199
-      #undef PROBE_SIZE_Y
200
-      #undef PROBE_AREA_WIDTH
201
-      #undef PROBE_AREA_DEPTH
202
-
203 173
     #else // !AUTO_BED_LEVELING_GRID
204 174
 
205 175
       // Check the triangulation points

Loading…
Cancel
Save