fixed parameter handling that was buggy for some WebUI when run and not setting all the params

This commit is contained in:
Félix Boisselier
2024-04-18 23:19:35 +02:00
parent 2cc9ac63e6
commit f0f12a613a
6 changed files with 11 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ gcode:
{% set accel_chip = params.ACCEL_CHIP|default("adxl345") %} # ADXL chip name in the config
{% set keep_results = params.KEEP_N_RESULTS|default(3)|int %}
{% set keep_csv = params.KEEP_CSV|default(True) %}
{% set keep_csv = params.KEEP_CSV|default(0)|int %}
{% set mid_x = printer.toolhead.axis_maximum.x|float / 2 %}
{% set mid_y = printer.toolhead.axis_maximum.y|float / 2 %}