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

Set initial endstops state

parent cb8b9950
Branches
Tags
Loading
......@@ -70,7 +70,15 @@ class Endstops {
static esbits_t current_endstop_bits, old_endstop_bits;
Endstops() {};
Endstops() {
enable_globally(
#if ENABLED(ENDSTOPS_ALWAYS_ON_DEFAULT)
true
#else
false
#endif
);
};
/**
* Initialize the endstop pins
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment