Permit Stall Sensitivity of 0 (#17722)
This commit is contained in:
parent
37176ed2b9
commit
c56b66543d
9 changed files with 42 additions and 42 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
typedef const char Language_Str[];
|
||||
|
||||
#if defined(LCD_LANGUAGE_5)
|
||||
#ifdef LCD_LANGUAGE_5
|
||||
#define NUM_LANGUAGES 5
|
||||
#elif defined(LCD_LANGUAGE_4)
|
||||
#define NUM_LANGUAGES 4
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#if X_STALL_SENSITIVITY
|
||||
#ifdef X_STALL_SENSITIVITY
|
||||
#define X_STOP_PIN X_DIAG_PIN
|
||||
#if X_HOME_DIR < 0
|
||||
#define X_MAX_PIN P1_28 // X+
|
||||
|
@ -55,7 +55,7 @@
|
|||
#define X_MAX_PIN P1_28 // X+
|
||||
#endif
|
||||
|
||||
#if Y_STALL_SENSITIVITY
|
||||
#ifdef Y_STALL_SENSITIVITY
|
||||
#define Y_STOP_PIN Y_DIAG_PIN
|
||||
#if Y_HOME_DIR < 0
|
||||
#define Y_MAX_PIN P1_26 // Y+
|
||||
|
@ -67,7 +67,7 @@
|
|||
#define Y_MAX_PIN P1_26 // Y+
|
||||
#endif
|
||||
|
||||
#if Z_STALL_SENSITIVITY
|
||||
#ifdef Z_STALL_SENSITIVITY
|
||||
#define Z_STOP_PIN Z_DIAG_PIN
|
||||
#if Z_HOME_DIR < 0
|
||||
#define Z_MAX_PIN P1_24 // Z+
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#if X_STALL_SENSITIVITY
|
||||
#ifdef X_STALL_SENSITIVITY
|
||||
#define X_STOP_PIN X_DIAG_PIN
|
||||
#if X_HOME_DIR < 0
|
||||
#define X_MAX_PIN P1_26 // E0DET
|
||||
|
@ -68,7 +68,7 @@
|
|||
#define X_STOP_PIN P1_29 // X-STOP
|
||||
#endif
|
||||
|
||||
#if Y_STALL_SENSITIVITY
|
||||
#ifdef Y_STALL_SENSITIVITY
|
||||
#define Y_STOP_PIN Y_DIAG_PIN
|
||||
#if Y_HOME_DIR < 0
|
||||
#define Y_MAX_PIN P1_25 // E1DET
|
||||
|
@ -79,7 +79,7 @@
|
|||
#define Y_STOP_PIN P1_28 // Y-STOP
|
||||
#endif
|
||||
|
||||
#if Z_STALL_SENSITIVITY
|
||||
#ifdef Z_STALL_SENSITIVITY
|
||||
#define Z_STOP_PIN Z_DIAG_PIN
|
||||
#if Z_HOME_DIR < 0
|
||||
#define Z_MAX_PIN P1_00 // PWRDET
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#if X_STALL_SENSITIVITY
|
||||
#ifdef X_STALL_SENSITIVITY
|
||||
#define X_STOP_PIN X_DIAG_PIN
|
||||
#if X_HOME_DIR < 0
|
||||
#define X_MAX_PIN P1_28 // X+
|
||||
|
@ -70,7 +70,7 @@
|
|||
#define X_MAX_PIN P1_28 // X+
|
||||
#endif
|
||||
|
||||
#if Y_STALL_SENSITIVITY
|
||||
#ifdef Y_STALL_SENSITIVITY
|
||||
#define Y_STOP_PIN Y_DIAG_PIN
|
||||
#if Y_HOME_DIR < 0
|
||||
#define Y_MAX_PIN P1_26 // Y+
|
||||
|
@ -82,7 +82,7 @@
|
|||
#define Y_MAX_PIN P1_26 // Y+
|
||||
#endif
|
||||
|
||||
#if Z_STALL_SENSITIVITY
|
||||
#ifdef Z_STALL_SENSITIVITY
|
||||
#define Z_STOP_PIN Z_DIAG_PIN
|
||||
#if Z_HOME_DIR < 0
|
||||
#define Z_MAX_PIN P1_24 // Z+
|
||||
|
|
|
@ -1225,7 +1225,7 @@
|
|||
//
|
||||
// Auto-assign pins for stallGuard sensorless homing
|
||||
//
|
||||
#if X2_STALL_SENSITIVITY && ENABLED(X_DUAL_ENDSTOPS) && _PEXI(X2_E_INDEX, DIAG)
|
||||
#if defined(X2_STALL_SENSITIVITY) && ENABLED(X_DUAL_ENDSTOPS) && _PEXI(X2_E_INDEX, DIAG)
|
||||
#define X2_DIAG_PIN _EPIN(X2_E_INDEX, DIAG)
|
||||
#if DIAG_REMAPPED(X2, X_MIN) // If already remapped in the pins file...
|
||||
#define X2_USE_ENDSTOP _XMIN_
|
||||
|
@ -1294,7 +1294,7 @@
|
|||
#define Y2_SERIAL_RX_PIN _EPIN(Y2_E_INDEX, SERIAL_RX)
|
||||
#endif
|
||||
#endif
|
||||
#if Y2_STALL_SENSITIVITY && ENABLED(Y_DUAL_ENDSTOPS) && _PEXI(Y2_E_INDEX, DIAG)
|
||||
#if defined(Y2_STALL_SENSITIVITY) && ENABLED(Y_DUAL_ENDSTOPS) && _PEXI(Y2_E_INDEX, DIAG)
|
||||
#define Y2_DIAG_PIN _EPIN(Y2_E_INDEX, DIAG)
|
||||
#if DIAG_REMAPPED(Y2, X_MIN)
|
||||
#define Y2_USE_ENDSTOP _XMIN_
|
||||
|
@ -1362,7 +1362,7 @@
|
|||
#define Z2_SERIAL_RX_PIN _EPIN(Z2_E_INDEX, SERIAL_RX)
|
||||
#endif
|
||||
#endif
|
||||
#if Z2_STALL_SENSITIVITY && ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 2 && _PEXI(Z2_E_INDEX, DIAG)
|
||||
#if defined(Z2_STALL_SENSITIVITY) && ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 2 && _PEXI(Z2_E_INDEX, DIAG)
|
||||
#define Z2_DIAG_PIN _EPIN(Z2_E_INDEX, DIAG)
|
||||
#if DIAG_REMAPPED(Z2, X_MIN)
|
||||
#define Z2_USE_ENDSTOP _XMIN_
|
||||
|
@ -1431,7 +1431,7 @@
|
|||
#define Z3_SERIAL_RX_PIN _EPIN(Z3_E_INDEX, SERIAL_RX)
|
||||
#endif
|
||||
#endif
|
||||
#if Z3_STALL_SENSITIVITY && ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 3 && _PEXI(Z3_E_INDEX, DIAG)
|
||||
#if defined(Z3_STALL_SENSITIVITY) && ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 3 && _PEXI(Z3_E_INDEX, DIAG)
|
||||
#define Z3_DIAG_PIN _EPIN(Z3_E_INDEX, DIAG)
|
||||
#if DIAG_REMAPPED(Z3, X_MIN)
|
||||
#define Z3_USE_ENDSTOP _XMIN_
|
||||
|
@ -1498,7 +1498,7 @@
|
|||
#define Z4_SERIAL_RX_PIN _EPIN(Z4_E_INDEX, SERIAL_RX)
|
||||
#endif
|
||||
#endif
|
||||
#if Z4_STALL_SENSITIVITY && ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 4 && _PEXI(Z4_E_INDEX, DIAG)
|
||||
#if defined(Z4_STALL_SENSITIVITY) && ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 4 && _PEXI(Z4_E_INDEX, DIAG)
|
||||
#define Z4_DIAG_PIN _EPIN(Z4_E_INDEX, DIAG)
|
||||
#if DIAG_REMAPPED(Z4, X_MIN)
|
||||
#define Z4_USE_ENDSTOP _XMIN_
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#if X_STALL_SENSITIVITY
|
||||
#ifdef X_STALL_SENSITIVITY
|
||||
#define X_STOP_PIN X_DIAG_PIN
|
||||
#if X_HOME_DIR < 0
|
||||
#define X_MAX_PIN PE15 // E0
|
||||
|
@ -63,7 +63,7 @@
|
|||
#define X_MAX_PIN PE15 // E0
|
||||
#endif
|
||||
|
||||
#if Y_STALL_SENSITIVITY
|
||||
#ifdef Y_STALL_SENSITIVITY
|
||||
#define Y_STOP_PIN Y_DIAG_PIN
|
||||
#if Y_HOME_DIR < 0
|
||||
#define Y_MAX_PIN PE10 // E1
|
||||
|
@ -75,7 +75,7 @@
|
|||
#define Y_MAX_PIN PE10 // E1
|
||||
#endif
|
||||
|
||||
#if Z_STALL_SENSITIVITY
|
||||
#ifdef Z_STALL_SENSITIVITY
|
||||
#define Z_STOP_PIN Z_DIAG_PIN
|
||||
#if Z_HOME_DIR < 0
|
||||
#define Z_MAX_PIN PG5 // E2
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(ARDUINO_STEVAL)
|
||||
#ifdef ARDUINO_STEVAL
|
||||
// Pin number
|
||||
// This array allows to wrap Arduino pin number(Dx or x)
|
||||
// to STM32 PinName (PX_n)
|
||||
|
|
|
@ -41,7 +41,7 @@ extern "C" {
|
|||
/*----------------------------------------------------------------------------
|
||||
* Pins
|
||||
*----------------------------------------------------------------------------*/
|
||||
#if defined(ARDUINO_STEVAL)
|
||||
#ifdef ARDUINO_STEVAL
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
|
|
Reference in a new issue