mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-12-02 16:59:03 +00:00
parent
af4ba2b1ce
commit
53d06be226
@ -1624,7 +1624,6 @@ void setup() {
|
|||||||
SETUP_RUN(bdl.init(I2C_BD_SDA_PIN, I2C_BD_SCL_PIN, I2C_BD_DELAY));
|
SETUP_RUN(bdl.init(I2C_BD_SDA_PIN, I2C_BD_SCL_PIN, I2C_BD_DELAY));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if ENABLED(FT_MOTION)
|
#if ENABLED(FT_MOTION)
|
||||||
SETUP_RUN(fxdTiCtrl.init());
|
SETUP_RUN(fxdTiCtrl.init());
|
||||||
#endif
|
#endif
|
||||||
|
@ -869,7 +869,7 @@ void Endstops::update() {
|
|||||||
#if HAS_X_AXIS
|
#if HAS_X_AXIS
|
||||||
if (stepper.axis_is_moving(X_AXIS)) {
|
if (stepper.axis_is_moving(X_AXIS)) {
|
||||||
if (stepper.motor_direction(X_AXIS_HEAD)) { // -direction
|
if (stepper.motor_direction(X_AXIS_HEAD)) { // -direction
|
||||||
#if HAS_X_MIN || (X_SPI_SENSORLESS && X_HOME_TO_MIN)
|
#if USE_X_MIN || (X_SPI_SENSORLESS && X_HOME_TO_MIN)
|
||||||
PROCESS_ENDSTOP_X(MIN);
|
PROCESS_ENDSTOP_X(MIN);
|
||||||
#if CORE_DIAG(XY, Y, MIN)
|
#if CORE_DIAG(XY, Y, MIN)
|
||||||
PROCESS_CORE_ENDSTOP(Y,MIN,X,MIN);
|
PROCESS_CORE_ENDSTOP(Y,MIN,X,MIN);
|
||||||
@ -883,7 +883,7 @@ void Endstops::update() {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else { // +direction
|
else { // +direction
|
||||||
#if HAS_X_MAX || (X_SPI_SENSORLESS && X_HOME_TO_MAX)
|
#if USE_X_MAX || (X_SPI_SENSORLESS && X_HOME_TO_MAX)
|
||||||
PROCESS_ENDSTOP_X(MAX);
|
PROCESS_ENDSTOP_X(MAX);
|
||||||
#if CORE_DIAG(XY, Y, MIN)
|
#if CORE_DIAG(XY, Y, MIN)
|
||||||
PROCESS_CORE_ENDSTOP(Y,MIN,X,MAX);
|
PROCESS_CORE_ENDSTOP(Y,MIN,X,MAX);
|
||||||
|
Loading…
Reference in New Issue
Block a user