mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Set initial endstops state
This commit is contained in:
parent
cb8b9950af
commit
b27bc67271
@ -70,7 +70,15 @@ class Endstops {
|
|||||||
|
|
||||||
static esbits_t current_endstop_bits, old_endstop_bits;
|
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
|
* Initialize the endstop pins
|
||||||
|
Loading…
Reference in New Issue
Block a user