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

Avoid trigger error on M106 #29

Open
ekozan opened this issue Jul 3, 2024 · 1 comment
Open

Avoid trigger error on M106 #29

ekozan opened this issue Jul 3, 2024 · 1 comment

Comments

@ekozan
Copy link

ekozan commented Jul 3, 2024

https://github.com/TypQxQ/KTC/blame/ed288bf0cebdd1d7cec572ee3e8f37c13e413878/macros/base/M106.cfg#L26
KTC_SET_AND_SAVE_PARTFAN_SPEED{newparameters}
Tigger error if no tools is enabled, witch stop the print many sliccer send M107 by default at begenin of the Gcode
I modified M106 to
{% if myself.selected_tool|default("none")|lower == ktc.TOOL_NONE|lower %} KTC_SET_AND_SAVE_PARTFAN_SPEED{newparameters} {% endif %}
Maybe we can send an information and not an error on KTC code

@TypQxQ
Copy link
Owner

TypQxQ commented Jul 3, 2024 via email

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

2 participants