Set initial endstops state

2.0.x
Scott Lahteine 7 years ago
parent cb8b9950af
commit b27bc67271

@ -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

Loading…
Cancel
Save