Skip to content

Commit

Permalink
fixed resonance tests missing template expansion braces
Browse files Browse the repository at this point in the history
  • Loading branch information
Frix-x committed Jun 9, 2023
1 parent ec9a581 commit fea91cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions macros/calibration/IS_shaper_calibrate.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ gcode:
{% set max_freq = params.FREQ_END|default(133.3)|float %}
{% set hz_per_sec = params.HZ_PER_SEC|default(1)|float %}

TEST_RESONANCES AXIS=X FREQ_START=min_freq FREQ_END=max_freq HZ_PER_SEC=hz_per_sec
TEST_RESONANCES AXIS=X FREQ_START={min_freq} FREQ_END={max_freq} HZ_PER_SEC={hz_per_sec}
M400
TEST_RESONANCES AXIS=Y FREQ_START=min_freq FREQ_END=max_freq HZ_PER_SEC=hz_per_sec
TEST_RESONANCES AXIS=Y FREQ_START={min_freq} FREQ_END={max_freq} HZ_PER_SEC={hz_per_sec}
M400

{% if verbose %}
Expand All @@ -55,9 +55,9 @@ gcode:
{% set max_freq = params.FREQ_END|default(133.33)|float %}
{% set hz_per_sec = params.HZ_PER_SEC|default(1)|float %}

TEST_RESONANCES AXIS=1,1 OUTPUT=raw_data NAME=b FREQ_START=min_freq FREQ_END=max_freq HZ_PER_SEC=hz_per_sec
TEST_RESONANCES AXIS=1,1 OUTPUT=raw_data NAME=b FREQ_START={min_freq} FREQ_END={max_freq} HZ_PER_SEC={hz_per_sec}
M400
TEST_RESONANCES AXIS=1,-1 OUTPUT=raw_data NAME=a FREQ_START=min_freq FREQ_END=max_freq HZ_PER_SEC=hz_per_sec
TEST_RESONANCES AXIS=1,-1 OUTPUT=raw_data NAME=a FREQ_START={min_freq} FREQ_END={max_freq} HZ_PER_SEC={hz_per_sec}
M400

{% if verbose %}
Expand Down

0 comments on commit fea91cd

Please sign in to comment.