Fix: Remove format specifiers from RESPOND MSG templates

- Klipper parser doesn't support :.3f/:.2f/:.1f in template strings
- Affects PA_TEST_PATTERN, FLOW_TEST_CUBE, RETRACT_TEST_PATTERN
- Values will display with default float precision instead
This commit is contained in:
root 2026-03-14 12:52:49 +00:00
parent 37b38c713a
commit 336beb5cf0

View file

@ -54,7 +54,7 @@ gcode:
{% set x_pos = start_x + col * (square_size + spacing) %}
{% set y_pos = start_y + row * (square_size + spacing) %}
RESPOND MSG="Square {step + 1}/{STEPS}: PA={current_pa:.3f} at X{x_pos} Y{y_pos}"
RESPOND MSG="Square {step + 1}/{STEPS}: PA={current_pa} at X{x_pos} Y{y_pos}"
SET_PRESSURE_ADVANCE ADVANCE={current_pa}
# Move to position
@ -126,7 +126,7 @@ gcode:
{% set current_flow = START_FLOW + (step * step_size) %}
{% set z_start = step * cube_height %}
RESPOND MSG="Section {step + 1}/{STEPS}: Flow={current_flow:.2f}"
RESPOND MSG="Section {step + 1}/{STEPS}: Flow={current_flow}"
# Set flow rate (via extrusion multiplier simulation)
{% set flow_multiplier = current_flow %}
@ -211,7 +211,7 @@ gcode:
{% set x_pos = start_x + col * tower_spacing %}
{% set y_pos = start_y + row * tower_spacing %}
RESPOND MSG="Tower {step + 1}/{STEPS}: Retract={current_retract:.1f}mm at X{x_pos} Y{y_pos}"
RESPOND MSG="Tower {step + 1}/{STEPS}: Retract={current_retract}mm at X{x_pos} Y{y_pos}"
# Print tower
{% for layer in range(layers_per_tower) %}