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

Prevent heating after Stop() is called #2788

Open
wants to merge 2 commits into
base: MK3
Choose a base branch
from

Conversation

awenelo
Copy link
Contributor

@awenelo awenelo commented Aug 2, 2020

Check IsStopped() before setting temperatures. This is an alternative to #2609 and fixes #2605.

Additions:

  • Check IsStopped() before heating, don't heat if true

  • If the Gcode M104, M109, M140 or M190 is called and IsStopped() is true, we don't set temperature, and send Hotend/Bed temperature not set because Stop() has been called. Use M999 to reset and try again. over serial.

  • Don't show menu items that cause heating if IsStopped() is true

    • Preheat
    • Print from SD
    • Load filament
    • Unload filament
    • Settings > Temperature

Checks IsStopped() before heating

If M104, M109, M140 or M190 is called, we don't set temperature, and sends "Hotend/Bed temperature not set because Stop() has been called. Use M999 to reset and try again." over serial.

Removes menu items that cause heating if IsStopped():
Preheat
Print from SD
Load filament
Unload filament
Settings > Temperature
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

Successfully merging this pull request may close these issues.

[BUG] Autoload procedure can trigger during mintemp
1 participant