-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
[BUG] Temperature::preheat_end_ms_hotend missing in 2.1.2.2 #26802
Comments
As a work around In Marlin/src/module/temperature.cpp Find #if MILLISECONDS_PREHEAT_TIME > 0
millis_t Temperature::preheat_end_ms_hotend[HOTENDS]; // = { 0 };
#endif and replace it with #if MILLISECONDS_PREHEAT_TIME > 0
millis_t Temperature::preheat_end_time[HOTENDS] = { 0 };
#endif |
I use temperature sensor "66 : Trianglelab T-D500 500°C High Temperature Thermistor" which has a long dead zone around room temperature. Event the Marlin itself throws warning when MILLISECONDS_PREHEAT_TIME is below 30e3 ms with this sensor. I guess that the proposed workaround can cause problems with temperature control in my setup (?). |
Marlin has this code
to ensure MILLISECONDS_PREHEAT_TIME is > 15000 for a type 66 |
Closing since this is already fixed in |
Patch for |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
After setting MILLISECONDS_PREHEAT_TIME to any positive value the temperature.cpp checks for nonexisting member preheat_end_ms_hotend in Temperature class. Indeed temperature.h doesn't declare such variable. I see that bugfix branch already brought back this variable, but official .zip with Marlin 2.1.2.2 (https://marlinfw.org/meta/download/) contains this bug.
Bug Timeline
No response
Expected behavior
No response
Actual behavior
During build process a following error is thrown:
Marlin\src\module\temperature.cpp:598:12: error: 'millis_t Temperature::preheat_end_ms_hotend [1]' is not a static data member of 'class Temperature'
Steps to Reproduce
MILLISECONDS_PREHEAT_TIME
inConfiguration_adv.h
and set it to any positive valueMy Configuration(_adv).h:
Marlin.zip
Version of Marlin Firmware
2.1.2.2 (official .zip)
Printer model
Ender 3 v2
Electronics
Bigtreetech SKR Mini E3 v3
LCD/Controller
StockEnder 3 v2
Other add-ons
BL-Touch
Bed Leveling
UBL Bilinear mesh
Your Slicer
None
Host Software
None
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
No response
The text was updated successfully, but these errors were encountered: