Endstop now checked during non-homing moves (T1393)

master
Marcio Teixeira 7 years ago
parent b25388ba25
commit a0b2a246ca

@ -245,6 +245,10 @@
// been reported upstream as bug #8669 // been reported upstream as bug #8669
#define LULZBOT_Z_HOMING_HEIGHT_WORKAROUND #define LULZBOT_Z_HOMING_HEIGHT_WORKAROUND
// Marlin 1.1.5 does not respect ENDSTOPS_ALWAYS_ON_DEFAULT at startup,
// as described in T1393
#define LULZBOT_ENDSTOPS_ALWAYS_ON_DEFAULT_WORKAROUND
/******************** MOTHERBOARD AND PIN CONFIGURATION ***********************/ /******************** MOTHERBOARD AND PIN CONFIGURATION ***********************/
#if defined(TOOLHEAD_Devel_ServoDual) #if defined(TOOLHEAD_Devel_ServoDual)
@ -1509,6 +1513,8 @@
// stallguard is never cleared. // stallguard is never cleared.
//#define LULZBOT_ENDSTOP_INTERRUPTS_FEATURE //#define LULZBOT_ENDSTOP_INTERRUPTS_FEATURE
// ENDSTOPS_ALWAYS_ON_DEFAULT causes false positives
// with stallguard.
#undef LULZBOT_ENDSTOPS_ALWAYS_ON_DEFAULT #undef LULZBOT_ENDSTOPS_ALWAYS_ON_DEFAULT
// According to Jason at UltiMachine, setting the lower the // According to Jason at UltiMachine, setting the lower the

@ -13642,6 +13642,16 @@ void setup() {
pe_deactivate_magnet(1); pe_deactivate_magnet(1);
#endif #endif
#endif #endif
#if defined(LULZBOT_ENDSTOPS_ALWAYS_ON_DEFAULT_WORKAROUND)
endstops.enable_globally(
#if ENABLED(ENDSTOPS_ALWAYS_ON_DEFAULT)
true
#else
false
#endif
);
#endif
} }
/** /**

Loading…
Cancel
Save