|
|
@ -5674,7 +5674,7 @@ void home_all_axes() { gcode_G28(true); }
|
|
|
|
float a_sum = 0.0;
|
|
|
|
float a_sum = 0.0;
|
|
|
|
LOOP_XYZ(axis) a_sum += delta_tower_angle_trim[axis];
|
|
|
|
LOOP_XYZ(axis) a_sum += delta_tower_angle_trim[axis];
|
|
|
|
LOOP_XYZ(axis) delta_tower_angle_trim[axis] -= a_sum / 3.0;
|
|
|
|
LOOP_XYZ(axis) delta_tower_angle_trim[axis] -= a_sum / 3.0;
|
|
|
|
|
|
|
|
|
|
|
|
// adjust delta_height and endstops by the max amount
|
|
|
|
// adjust delta_height and endstops by the max amount
|
|
|
|
const float z_temp = MAX3(endstop_adj[A_AXIS], endstop_adj[B_AXIS], endstop_adj[C_AXIS]);
|
|
|
|
const float z_temp = MAX3(endstop_adj[A_AXIS], endstop_adj[B_AXIS], endstop_adj[C_AXIS]);
|
|
|
|
home_offset[Z_AXIS] -= z_temp;
|
|
|
|
home_offset[Z_AXIS] -= z_temp;
|
|
|
@ -6369,6 +6369,8 @@ inline void gcode_M17() {
|
|
|
|
filament_change_beep(max_beep_count, true);
|
|
|
|
filament_change_beep(max_beep_count, true);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set_destination_to_current();
|
|
|
|
|
|
|
|
|
|
|
|
if (load_length != 0) {
|
|
|
|
if (load_length != 0) {
|
|
|
|
#if ENABLED(ULTIPANEL)
|
|
|
|
#if ENABLED(ULTIPANEL)
|
|
|
|
// Show "insert filament"
|
|
|
|
// Show "insert filament"
|
|
|
@ -8580,7 +8582,7 @@ inline void gcode_M205() {
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
LOOP_XYZ(i) {
|
|
|
|
LOOP_XYZ(i) {
|
|
|
|
if (parser.seen(axis_codes[i])) {
|
|
|
|
if (parser.seen(axis_codes[i])) {
|
|
|
|
if (parser.value_linear_units() * Z_HOME_DIR <= 0)
|
|
|
|
if (parser.value_linear_units() * Z_HOME_DIR <= 0)
|
|
|
|
endstop_adj[i] = parser.value_linear_units();
|
|
|
|
endstop_adj[i] = parser.value_linear_units();
|
|
|
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
|
|
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
|
|
|
if (DEBUGGING(LEVELING)) {
|
|
|
|
if (DEBUGGING(LEVELING)) {
|
|
|
|