Browse Source

Merge pull request #3679 from thinkyhead/rc_fix_3677

Can't use the ENABLED macro as a boolean
pull/1/head
Scott Lahteine 9 years ago
parent
commit
a5a6b86898
  1. 8
      Marlin/endstops.cpp

8
Marlin/endstops.cpp

@ -37,7 +37,13 @@
Endstops endstops;
Endstops::Endstops() {
enable_globally(ENABLED(ENDSTOPS_ONLY_FOR_HOMING));
enable_globally(
#if ENABLED(ENDSTOPS_ONLY_FOR_HOMING)
true
#else
false
#endif
);
enable(true);
#if ENABLED(HAS_Z_MIN_PROBE)
enable_z_probe(false);

Loading…
Cancel
Save