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

Fix heating error message #2067

Merged
merged 4 commits into from
May 13, 2015

Conversation

thinkyhead
Copy link
Member

  • Wrap errors in PSTR
  • Keep watching the heater as long as it's sufficiently below the target
  • Change the lower boundary to degTargetHotend(e) - (WATCH_TEMP_INCREASE + TEMP_HYSTERESIS + 1)

@@ -1005,7 +1007,7 @@ void tp_init() {
*/
void start_watching_heater(int e) {
millis_t ms = millis() + WATCH_TEMP_PERIOD * 1000;
if (degHotend(e) < degTargetHotend(e) - (WATCH_TEMP_INCREASE * 2)) {
if (degHotend(e) < degTargetHotend(e) - (WATCH_TEMP_INCREASE + TEMP_HYSTERESIS + 1)) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is less arbitrary than just multiplying the increase value by 2.

thinkyhead added a commit that referenced this pull request May 13, 2015
@thinkyhead thinkyhead merged commit 56090fc into MarlinFirmware:Development May 13, 2015
@thinkyhead thinkyhead deleted the thermal_unified branch May 13, 2015 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant