Set initial endstops state

This commit is contained in:
Scott Lahteine 2017-12-05 01:10:31 -06:00
parent cb8b9950af
commit b27bc67271

View file

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