|
|
@ -221,7 +221,7 @@ |
|
|
|
#define E0_DIR_WRITE(STATE) L64XX_DIR_WRITE(E0, STATE) |
|
|
|
#define E0_DIR_READ() (stepper##E0.getStatus() & STATUS_DIR); |
|
|
|
#if AXIS_DRIVER_TYPE_E0(L6470) |
|
|
|
#define DISABLE_STEPPER_E0() do{ stepperE0.free(); CBI(axis_known_position, E_AXIS); }while(0) |
|
|
|
#define DISABLE_STEPPER_E0() do{ stepperE0.free(); }while(0) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -241,7 +241,7 @@ |
|
|
|
#define E1_DIR_WRITE(STATE) L64XX_DIR_WRITE(E1, STATE) |
|
|
|
#define E1_DIR_READ() (stepper##E1.getStatus() & STATUS_DIR); |
|
|
|
#if AXIS_DRIVER_TYPE_E1(L6470) |
|
|
|
#define DISABLE_STEPPER_E1() do{ stepperE1.free(); CBI(axis_known_position, E_AXIS); }while(0) |
|
|
|
#define DISABLE_STEPPER_E1() do{ stepperE1.free(); }while(0) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -261,7 +261,7 @@ |
|
|
|
#define E2_DIR_WRITE(STATE) L64XX_DIR_WRITE(E2, STATE) |
|
|
|
#define E2_DIR_READ() (stepper##E2.getStatus() & STATUS_DIR); |
|
|
|
#if AXIS_DRIVER_TYPE_E2(L6470) |
|
|
|
#define DISABLE_STEPPER_E2() do{ stepperE2.free(); CBI(axis_known_position, E_AXIS); }while(0) |
|
|
|
#define DISABLE_STEPPER_E2() do{ stepperE2.free(); }while(0) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -298,7 +298,7 @@ |
|
|
|
#define E4_DIR_WRITE(STATE) L64XX_DIR_WRITE(E4, STATE) |
|
|
|
#define E4_DIR_READ() (stepper##E4.getStatus() & STATUS_DIR); |
|
|
|
#if AXIS_DRIVER_TYPE_E4(L6470) |
|
|
|
#define DISABLE_STEPPER_E4() do{ stepperE4.free(); CBI(axis_known_position, E_AXIS); }while(0) |
|
|
|
#define DISABLE_STEPPER_E4() do{ stepperE4.free(); }while(0) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -318,7 +318,7 @@ |
|
|
|
#define E5_DIR_WRITE(STATE) L64XX_DIR_WRITE(E5, STATE) |
|
|
|
#define E5_DIR_READ() (stepper##E5.getStatus() & STATUS_DIR); |
|
|
|
#if AXIS_DRIVER_TYPE_E5(L6470) |
|
|
|
#define DISABLE_STEPPER_E5() do{ stepperE5.free(); CBI(axis_known_position, E_AXIS); }while(0) |
|
|
|
#define DISABLE_STEPPER_E5() do{ stepperE5.free(); }while(0) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -338,7 +338,7 @@ |
|
|
|
#define E6_DIR_WRITE(STATE) L64XX_DIR_WRITE(E6, STATE) |
|
|
|
#define E6_DIR_READ() (stepper##E6.getStatus() & STATUS_DIR); |
|
|
|
#if AXIS_DRIVER_TYPE_E6(L6470) |
|
|
|
#define DISABLE_STEPPER_E6() do{ stepperE6.free(); CBI(axis_known_position, E_AXIS); }while(0) |
|
|
|
#define DISABLE_STEPPER_E6() do{ stepperE6.free(); }while(0) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
@ -358,7 +358,7 @@ |
|
|
|
#define E7_DIR_WRITE(STATE) L64XX_DIR_WRITE(E7, STATE) |
|
|
|
#define E7_DIR_READ() (stepper##E7.getStatus() & STATUS_DIR); |
|
|
|
#if AXIS_DRIVER_TYPE_E7(L6470) |
|
|
|
#define DISABLE_STEPPER_E7() do{ stepperE7.free(); CBI(axis_known_position, E_AXIS); }while(0) |
|
|
|
#define DISABLE_STEPPER_E7() do{ stepperE7.free(); }while(0) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|