Replace ENDSTOPS_ONLY_FOR_HOMING with ENDSTOPS_ALWAYS_ON_DEFAULT

This commit is contained in:
Scott Lahteine
2016-07-14 16:11:53 -07:00
parent 671634bf11
commit 0fcd3706dd
20 changed files with 62 additions and 42 deletions

View File

@ -40,10 +40,10 @@ Endstops endstops;
bool Endstops::enabled = true,
Endstops::enabled_globally =
#if ENABLED(ENDSTOPS_ONLY_FOR_HOMING)
false
#if ENABLED(ENDSTOPS_ALWAYS_ON_DEFAULT)
(true)
#else
true
(false)
#endif
;
volatile char Endstops::endstop_hit_bits; // use X_MIN, Y_MIN, Z_MIN and Z_MIN_PROBE as BIT value
@ -66,10 +66,10 @@ volatile char Endstops::endstop_hit_bits; // use X_MIN, Y_MIN, Z_MIN and Z_MIN_P
Endstops::Endstops() {
enable_globally(
#if ENABLED(ENDSTOPS_ONLY_FOR_HOMING)
false
#if ENABLED(ENDSTOPS_ALWAYS_ON_DEFAULT)
(true)
#else
true
(false)
#endif
);
enable(true);