add pin definition to some motherboards
This commit is contained in:
parent
27a3b1d895
commit
f48599f172
@ -1543,7 +1543,6 @@ inline void set_destination_to_current() { memcpy(destination, current_position,
|
|||||||
do_blocking_move_to(X_MAX_POS + SLED_DOCKING_OFFSET + offset - 1, current_position[Y_AXIS], current_position[Z_AXIS]); // Dock sled a bit closer to ensure proper capturing
|
do_blocking_move_to(X_MAX_POS + SLED_DOCKING_OFFSET + offset - 1, current_position[Y_AXIS], current_position[Z_AXIS]); // Dock sled a bit closer to ensure proper capturing
|
||||||
digitalWrite(SLED_PIN, LOW); // turn off magnet
|
digitalWrite(SLED_PIN, LOW); // turn off magnet
|
||||||
do_blocking_move_to(oldXpos, current_position[Y_AXIS], current_position[Z_AXIS]); // return to position before docking
|
do_blocking_move_to(oldXpos, current_position[Y_AXIS], current_position[Z_AXIS]); // return to position before docking
|
||||||
do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS] - Z_RAISE_AFTER_PROBING);
|
|
||||||
} else {
|
} else {
|
||||||
float oldXpos = current_position[X_AXIS]; // save x position
|
float oldXpos = current_position[X_AXIS]; // save x position
|
||||||
float z_loc = current_position[Z_AXIS];
|
float z_loc = current_position[Z_AXIS];
|
||||||
|
@ -8,6 +8,11 @@
|
|||||||
|
|
||||||
#define LARGE_FLASH true
|
#define LARGE_FLASH true
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef Z_PROBE_SLED
|
||||||
|
#define SLED_PIN -1
|
||||||
|
#endif
|
||||||
|
|
||||||
// Servo support
|
// Servo support
|
||||||
#ifdef NUM_SERVOS
|
#ifdef NUM_SERVOS
|
||||||
#define SERVO0_PIN 46 //AUX3-6
|
#define SERVO0_PIN 46 //AUX3-6
|
||||||
|
@ -22,6 +22,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef Z_PROBE_SLED
|
||||||
|
#define SLED_PIN -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#undef X_MS1_PIN
|
#undef X_MS1_PIN
|
||||||
#undef X_MS2_PIN
|
#undef X_MS2_PIN
|
||||||
#undef Y_MS1_PIN
|
#undef Y_MS1_PIN
|
||||||
|
@ -134,6 +134,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef Z_PROBE_SLED
|
||||||
|
#define SLED_PIN -1
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ULTRA_LCD
|
#ifdef ULTRA_LCD
|
||||||
|
|
||||||
#ifdef NEWPANEL
|
#ifdef NEWPANEL
|
||||||
|
Loading…
Reference in New Issue
Block a user