Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported syntax - "default_parameter" #3

Open
JamieS01 opened this issue Feb 25, 2022 · 0 comments
Open

Unsupported syntax - "default_parameter" #3

JamieS01 opened this issue Feb 25, 2022 · 0 comments

Comments

@JamieS01
Copy link

As the "default_parameter" syntax is no longer supported in klipper, This needs updating for the relevant macros (e.g. M204:)

[gcode_macro M204] rename_existing: M204.1 #default_parameter_F: 0.75 gcode: {% set F = params.F|default(0.75) %} {% if 'S' in params %} SET_VELOCITY_LIMIT ACCEL={ S } ACCEL_TO_DECEL={ S|float * F|float } {% endif %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant