-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Use setTargetHotend in menus (#22247)
- Loading branch information
1 parent
1f6768a
commit e3d98dd
Showing
2 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The problem I ran into with
setTargetHotend(thermalManager.temp_hotend[0].target, 0);
is that the check in setTargetHotend will only prime the preheat delay if the target was previously 0. So, this would result in the same issue (immediate MIN TEMP error) since it will have been modified by TMenuEditItem::action().