@@ -1396,7 +1396,7 @@ void CrealityDWINClass::Menu_Item_Handler(uint8_t menu, uint8_t item, bool draw/
1396
1396
if (thermalManager.temp_hotend [0 ].target < thermalManager.extrude_min_temp )
1397
1397
Popup_Handler (ETemp);
1398
1398
else {
1399
- if (thermalManager.temp_hotend [0 ].celsius < thermalManager. temp_hotend [ 0 ]. target - 2 ) {
1399
+ if (thermalManager.temp_hotend [0 ].is_below_target (- 2 ) ) {
1400
1400
Popup_Handler (Heating);
1401
1401
thermalManager.wait_for_hotend (0 );
1402
1402
}
@@ -1539,7 +1539,7 @@ void CrealityDWINClass::Menu_Item_Handler(uint8_t menu, uint8_t item, bool draw/
1539
1539
Popup_Handler (ETemp);
1540
1540
}
1541
1541
else {
1542
- if (thermalManager.temp_hotend [0 ].celsius < thermalManager. temp_hotend [ 0 ]. target - 2 ) {
1542
+ if (thermalManager.temp_hotend [0 ].is_below_target (- 2 ) ) {
1543
1543
Popup_Handler (Heating);
1544
1544
thermalManager.wait_for_hotend (0 );
1545
1545
Redraw_Menu ();
@@ -1946,7 +1946,7 @@ void CrealityDWINClass::Menu_Item_Handler(uint8_t menu, uint8_t item, bool draw/
1946
1946
if (thermalManager.temp_hotend [0 ].target < thermalManager.extrude_min_temp )
1947
1947
Popup_Handler (ETemp);
1948
1948
else {
1949
- if (thermalManager.temp_hotend [0 ].celsius < thermalManager. temp_hotend [ 0 ]. target - 2 ) {
1949
+ if (thermalManager.temp_hotend [0 ].is_below_target (- 2 ) ) {
1950
1950
Popup_Handler (Heating);
1951
1951
thermalManager.wait_for_hotend (0 );
1952
1952
}
@@ -1965,7 +1965,7 @@ void CrealityDWINClass::Menu_Item_Handler(uint8_t menu, uint8_t item, bool draw/
1965
1965
Popup_Handler (ETemp);
1966
1966
}
1967
1967
else {
1968
- if (thermalManager.temp_hotend [0 ].celsius < thermalManager. temp_hotend [ 0 ]. target - 2 ) {
1968
+ if (thermalManager.temp_hotend [0 ].is_below_target (- 2 ) ) {
1969
1969
Popup_Handler (Heating);
1970
1970
thermalManager.wait_for_hotend (0 );
1971
1971
}
@@ -1983,7 +1983,7 @@ void CrealityDWINClass::Menu_Item_Handler(uint8_t menu, uint8_t item, bool draw/
1983
1983
if (thermalManager.temp_hotend [0 ].target < thermalManager.extrude_min_temp )
1984
1984
Popup_Handler (ETemp);
1985
1985
else {
1986
- if (thermalManager.temp_hotend [0 ].celsius < thermalManager. temp_hotend [ 0 ]. target - 2 ) {
1986
+ if (thermalManager.temp_hotend [0 ].is_below_target (- 2 ) ) {
1987
1987
Popup_Handler (Heating);
1988
1988
thermalManager.wait_for_hotend (0 );
1989
1989
}
@@ -5444,7 +5444,7 @@ void CrealityDWINClass::Popup_Control() {
5444
5444
if (thermalManager.temp_hotend [0 ].target < thermalManager.extrude_min_temp )
5445
5445
Popup_Handler (ETemp);
5446
5446
else {
5447
- if (thermalManager.temp_hotend [0 ].celsius < thermalManager. temp_hotend [ 0 ]. target - 2 ) {
5447
+ if (thermalManager.temp_hotend [0 ].is_below_target (- 2 ) ) {
5448
5448
Popup_Handler (Heating);
5449
5449
thermalManager.wait_for_hotend (0 );
5450
5450
}
0 commit comments