Skip to content

Commit

Permalink
fixed TAP homing on RRI
Browse files Browse the repository at this point in the history
  • Loading branch information
Frix-x committed May 9, 2023
1 parent 845d502 commit d661c51
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions macros/base/homing/homing_overide.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,9 @@ gcode:
{% if printer["configfile"].config["stepper_z"]["endstop_pin"]|lower == "probe:z_virtual_endstop" %}
{% if bed_mesh_enabled %}
{% set mesh_ready = printer["gcode_macro _ADAPTIVE_MESH_VARIABLES"].ready %}
{% set mesh_center = printer["gcode_macro _ADAPTIVE_MESH_VARIABLES"].mesh_center %}
{% set x_mesh_center, y_mesh_center = mesh_center.split(',')|map('trim')|map('float') %}

{% if mesh_ready %}
{% set mesh_center = printer["gcode_macro _ADAPTIVE_MESH_VARIABLES"].mesh_center %}
{% set x_mesh_center, y_mesh_center = mesh_center.split(',')|map('trim')|map('float') %}
RESPOND MSG="Z homing: a mesh is computed and ready, probing mesh center: {mesh_center}"
G0 X{x_mesh_center} Y{y_mesh_center} F{homing_travel_speed}
{% else %}
Expand Down

0 comments on commit d661c51

Please sign in to comment.