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

Advanced pause compile without prevent cold extrusion #19463 #19739

Conversation

rlojek
Copy link
Contributor

@rlojek rlojek commented Oct 14, 2020

Description

Added #if Enabled macro bracketing sensitive if statement that check non undeclared field thermalManager.targetTooColdToExtrude
In temerature.h field extrude_min_temp is declared conditionally in respect to PREVENT_COLD_EXTRUSION. This was not changed recently, yet how the ensure_safe_temperature handles this has changed:
2.6.1 no use of the field
2.0.7 and 2.0.x use that field:
https://github.com/MarlinFirmware/Marlin/blob/da79674f84ef65cb014288a27d60f8709b1f0936/Marlin/src/feature/pause.cpp#L136

Benefits

Makes compilation working with Advanced Pause Feature enabled while Prevent Cold Extrusion disabled

Related Issues

#19463

@rlojek rlojek changed the base branch from 2.0.x to bugfix-2.0.x October 14, 2020 20:16
@rlojek rlojek closed this Oct 14, 2020
@rlojek
Copy link
Contributor Author

rlojek commented Oct 14, 2020

Bad target

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.

1 participant