update idle< skew

This commit is contained in:
2025-07-21 22:03:06 +03:00
parent 9d10d3e277
commit 1ab49eb721
4 changed files with 8 additions and 1 deletions

View File

@@ -51,6 +51,8 @@ gcode:
{% endif %}
{% endif %}
{% endif %}
{% else %}
SET_GCODE_VARIABLE MACRO=_POWER_OFF_PRINTER VARIABLE=first_stage_active VALUE=False
{% endif %}
[delayed_gcode _POWER_OFF_PRINTER_CHECK]
@@ -86,6 +88,8 @@ gcode:
{% endif %}
{% endif %}
{% endif %}
{% else %}
SET_GCODE_VARIABLE MACRO=_POWER_OFF_PRINTER VARIABLE=first_stage_active VALUE=False
{% endif %}
[delayed_gcode _IDLE_HEATER_SHUTDOWN]

View File

@@ -220,7 +220,7 @@ gcode:
# Get X position
{% if params.X != '' %}
{% if params.X|float >= printer.toolhead.axis_minimum.x + 5 and params.X|float <= printer.toolhead.axis_maximum.x - 5 %}
{% set safe_x = params.X|float %}
{% set safe_x = params.X|float %}
{% else %}
{action_respond_info('The requested X co-ordinate is outside the defined axis bounds - using defaults')}
{% set safe_x = printer.toolhead.axis_maximum.x / 2 %}