Use temperature accessors

This commit is contained in:
Scott Lahteine
2021-04-24 05:20:55 -05:00
parent 6f5800bd74
commit dfcccb63a1
6 changed files with 7 additions and 7 deletions

View File

@ -2709,7 +2709,7 @@ void HMI_AxisMove() {
case 4: // Extruder
// window tips
#ifdef PREVENT_COLD_EXTRUSION
if (thermalManager.wholeDegHotend(0) < (EXTRUDE_MINTEMP)) {
if (thermalManager.tooColdToExtrude(0)) {
HMI_flag.ETempTooLow_flag = true;
Popup_Window_ETempTooLow();
DWIN_UpdateLCD();