We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb8b995 commit b27bc67Copy full SHA for b27bc67
Marlin/src/module/endstops.h
@@ -70,7 +70,15 @@ class Endstops {
70
71
static esbits_t current_endstop_bits, old_endstop_bits;
72
73
- Endstops() {};
+ Endstops() {
74
+ enable_globally(
75
+ #if ENABLED(ENDSTOPS_ALWAYS_ON_DEFAULT)
76
+ true
77
+ #else
78
+ false
79
+ #endif
80
+ );
81
+ };
82
83
/**
84
* Initialize the endstop pins
0 commit comments