Skip to content
Snippets Groups Projects
Commit 13f85a2b authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Can't use the ENABLED macro as a boolean

parent b4b5c7a6
Branches
Tags
No related merge requests found
......@@ -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);
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment