Skip to content

Avoid trigger error on M106  #29

@ekozan

Description

@ekozan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions