Merge pull request #3588 from thinkyhead/rc_z_safe_homing_deps

Allow Z_SAFE_HOMING to compile without a probe
This commit is contained in:
Scott Lahteine 2016-04-21 17:51:18 -07:00
commit 8620024130

View file

@ -187,10 +187,6 @@
#error For AUTO_BED_LEVELING_FEATURE define one kind of probe! [Servo | MECHANICAL_PROBE | Z_PROBE_SLED | FIX_MOUNTED_PROBE]
#endif
#if ENABLED(Z_SAFE_HOMING)&& !( ENABLED(FIX_MOUNTED_PROBE) || defined(Z_ENDSTOP_SERVO_NR) || ENABLED(MECHANICAL_PROBE) || ENABLED(Z_PROBE_SLED))
#error For Z_SAFE_HOMING define one kind of probe! [Servo | MECHANICAL_PROBE | Z_PROBE_SLED | FIX_MOUNTED_PROBE]
#endif
// To do: Fail with more than one probe defined
/**