Fix heater status display for advanced pause

This commit is contained in:
Thomas Moore authored and Scott Lahteine committed 2017-06-01 12:29:47 -05:00
1 parent ac33a378c0
commit a32f7b329c
3 files changed
+6 -6

No files matched your search

+2 -1
View File
@@ -5931,7 +5931,8 @@ inline void gcode_M17() {
idle();
wait_for_heatup = false;
HOTEND_LOOP() {
if (abs(thermalManager.degHotend(e) - thermalManager.degTargetHotend(e)) > 3) {
const int16_t target_temp = thermalManager.degTargetHotend(e);
if (target_temp && abs(thermalManager.degHotend(e) - target_temp) > 3) {
wait_for_heatup = true;
break;
}