Browse Source

Sanity check homing bumps

pull/1/head
Scott Lahteine 8 years ago
parent
commit
0951bffcc0
  1. 2
      Marlin/Marlin_main.cpp
  2. 7
      Marlin/SanityCheck.h

2
Marlin/Marlin_main.cpp

@ -9104,7 +9104,7 @@ void stop() {
*/
void setup() {
#if ENABLED(DISABLE_JTAG)
#ifdef DISABLE_JTAG
// Disable JTAG on AT90USB chips to free up pins for IO
MCUCR = 0x80;
MCUCR = 0x80;

7
Marlin/SanityCheck.h

@ -450,6 +450,13 @@
#endif
/**
* Homing Bump
*/
#if X_HOME_BUMP_MM < 0 || Y_HOME_BUMP_MM < 0 || Z_HOME_BUMP_MM < 0
#error "[XYZ]_HOME_BUMP_MM must be greater than or equal to 0."
#endif
/**
* Make sure Z_SAFE_HOMING point is reachable
*/

Loading…
Cancel
Save