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 not compile without PREVENT_COLD_EXTRUSION (#19463) #19740

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

@thinkyhead thinkyhead merged commit 72e3238 into MarlinFirmware:bugfix-2.0.x Oct 15, 2020
Zorchz pushed a commit to Zorchz/Marlin-1 that referenced this pull request Oct 17, 2020
Zorchz pushed a commit to Zorchz/Marlin-1 that referenced this pull request Oct 17, 2020
thinkyhead pushed a commit to thinkyhead/Marlin that referenced this pull request Oct 21, 2020
Speaka pushed a commit to Speaka/Marlin that referenced this pull request Oct 23, 2020
Speaka pushed a commit to Speaka/Marlin that referenced this pull request Nov 2, 2020
vgadreau pushed a commit to vgadreau/Marlin that referenced this pull request Dec 9, 2020
tharts pushed a commit to tharts/Marlin that referenced this pull request Jan 6, 2021
kpishere pushed a commit to kpishere/Marlin that referenced this pull request Feb 19, 2021
W4tel-BiDi pushed a commit to W4tel-BiDi/Marlin that referenced this pull request Apr 5, 2021
chrisjenda pushed a commit to chrisjenda/Marlin that referenced this pull request Apr 8, 2021
chrisjenda pushed a commit to chrisjenda/Marlin that referenced this pull request Apr 11, 2021
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.

2 participants