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

Handle non-[existent/functioning] tools #2182

Merged
merged 2 commits into from Oct 27, 2017

Conversation

kantlivelong
Copy link
Contributor

@kantlivelong kantlivelong commented Oct 26, 2017

What does this PR do and why is it necessary?

  1. Resolves an issue where sending M104/M109 specifying a non-existent tool(T) will result in the actual temp being recorded as None.

  2. Updates the temperature data for invalid tools so that the UI sets the target temperature back to off.

How was it tested? How can it be tested by the reviewer?

I've only tested this on a printer with one tool. Would be great if someone with multiple could test prior to merge.

  1. In the terminal send M104 T1 S100 to a printer with only one tool. Temperature data should no longer include the non-[existent/functioning] tool.
  2. Set the temperature in the UI for a non-[existent/functioning] tool. The target temperature should revert back to off.

NOTE: Temperature may still set for T0 if there is only one tool defined in the firmware.

Any background context you want to provide?

What are the relevant tickets if any?

PSUControl#68

Screenshots (if appropriate)

Further notes

@foosel
Copy link
Member

foosel commented Oct 27, 2017

Perfect, thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants