Browse Source

Assert that XY probe offsets are integers

pull/1/head
Scott Lahteine 7 years ago
parent
commit
bf7d0ba859
  1. 3
      Marlin/src/inc/SanityCheck.h

3
Marlin/src/inc/SanityCheck.h

@ -823,6 +823,9 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
#error "Z_PROBE_LOW_POINT must be less than or equal to 0."
#endif
static_assert(int(X_PROBE_OFFSET_FROM_EXTRUDER) == (X_PROBE_OFFSET_FROM_EXTRUDER), "X_PROBE_OFFSET_FROM_EXTRUDER must be an integer value.");
static_assert(int(Y_PROBE_OFFSET_FROM_EXTRUDER) == (Y_PROBE_OFFSET_FROM_EXTRUDER), "Y_PROBE_OFFSET_FROM_EXTRUDER must be an integer value.");
#else
/**

Loading…
Cancel
Save