Skip to content

Commit

Permalink
fixed compatibility with Klipper < v0.12.0-239
Browse files Browse the repository at this point in the history
  • Loading branch information
Frix-x committed Dec 16, 2024
1 parent 6376c84 commit abd0796
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shaketune/helpers/resonance_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,10 @@ def vibrate_axis(self, axis_direction, min_freq=None, max_freq=None, hz_per_sec=
s_accel = base_s_accel

if s_period > 0:
ConsoleOutput.print('Using pulse with sweeping acceleration test')
gen = SweepingVibrationGenerator(final_min_f, final_max_f, final_aph, final_hps, s_accel, s_period)
else:
ConsoleOutput.print('Using pulse-only test')
gen = BaseVibrationGenerator(final_min_f, final_max_f, final_aph, final_hps)

test_seq = gen.gen_test()
Expand Down

0 comments on commit abd0796

Please sign in to comment.