Browse Source

Set initial endstops state

pull/1/head
Scott Lahteine 7 years ago
parent
commit
b27bc67271
  1. 10
      Marlin/src/module/endstops.h

10
Marlin/src/module/endstops.h

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