Make the stop raising distance configurable (Z_CANCEL_LIFT)
This commit is contained in:
parent
2c41857cb5
commit
44fce0696b
|
|
@ -6308,7 +6308,7 @@ void lcd_print_stop()
|
||||||
lcd_cooldown(); //turns off heaters and fan; goes to status screen.
|
lcd_cooldown(); //turns off heaters and fan; goes to status screen.
|
||||||
|
|
||||||
if (axis_known_position[Z_AXIS]) {
|
if (axis_known_position[Z_AXIS]) {
|
||||||
current_position[Z_AXIS] += 50; //lift Z.
|
current_position[Z_AXIS] += Z_CANCEL_LIFT;
|
||||||
plan_buffer_line_curposXYZE(manual_feedrate[Z_AXIS] / 60);
|
plan_buffer_line_curposXYZE(manual_feedrate[Z_AXIS] / 60);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@
|
||||||
// Canceled home position
|
// Canceled home position
|
||||||
#define X_CANCEL_POS 50
|
#define X_CANCEL_POS 50
|
||||||
#define Y_CANCEL_POS 190
|
#define Y_CANCEL_POS 190
|
||||||
|
#define Z_CANCEL_LIFT 50
|
||||||
|
|
||||||
//Pause print position
|
//Pause print position
|
||||||
#define X_PAUSE_POS 50
|
#define X_PAUSE_POS 50
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@
|
||||||
// Canceled home position
|
// Canceled home position
|
||||||
#define X_CANCEL_POS 50
|
#define X_CANCEL_POS 50
|
||||||
#define Y_CANCEL_POS 190
|
#define Y_CANCEL_POS 190
|
||||||
|
#define Z_CANCEL_LIFT 50
|
||||||
|
|
||||||
//Pause print position
|
//Pause print position
|
||||||
#define X_PAUSE_POS 50
|
#define X_PAUSE_POS 50
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@
|
||||||
// Canceled home position
|
// Canceled home position
|
||||||
#define X_CANCEL_POS 50
|
#define X_CANCEL_POS 50
|
||||||
#define Y_CANCEL_POS 190
|
#define Y_CANCEL_POS 190
|
||||||
|
#define Z_CANCEL_LIFT 50
|
||||||
|
|
||||||
//Pause print position
|
//Pause print position
|
||||||
#define X_PAUSE_POS 50
|
#define X_PAUSE_POS 50
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@
|
||||||
// Canceled home position
|
// Canceled home position
|
||||||
#define X_CANCEL_POS 50
|
#define X_CANCEL_POS 50
|
||||||
#define Y_CANCEL_POS 190
|
#define Y_CANCEL_POS 190
|
||||||
|
#define Z_CANCEL_LIFT 50
|
||||||
|
|
||||||
//Pause print position
|
//Pause print position
|
||||||
#define X_PAUSE_POS 50
|
#define X_PAUSE_POS 50
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@
|
||||||
// Canceled home position
|
// Canceled home position
|
||||||
#define X_CANCEL_POS 50
|
#define X_CANCEL_POS 50
|
||||||
#define Y_CANCEL_POS 190
|
#define Y_CANCEL_POS 190
|
||||||
|
#define Z_CANCEL_LIFT 50
|
||||||
|
|
||||||
//Pause print position
|
//Pause print position
|
||||||
#define X_PAUSE_POS 50
|
#define X_PAUSE_POS 50
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,7 @@
|
||||||
// Canceled home position
|
// Canceled home position
|
||||||
#define X_CANCEL_POS 50
|
#define X_CANCEL_POS 50
|
||||||
#define Y_CANCEL_POS 190
|
#define Y_CANCEL_POS 190
|
||||||
|
#define Z_CANCEL_LIFT 50
|
||||||
|
|
||||||
//Pause print position
|
//Pause print position
|
||||||
#define X_PAUSE_POS 50
|
#define X_PAUSE_POS 50
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue