Quellcode durchsuchen

snmm v2: manage response: wait for nozzle temp only when heating

PavelSindler vor 6 Jahren
Ursprung
Commit
45ac42caff
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Firmware/Marlin_main.cpp

+ 1 - 1
Firmware/Marlin_main.cpp

@@ -8895,7 +8895,7 @@ void manage_response() {
 			  printf_P(PSTR("MMU not responding\n"));
 			  lcd_show_fullscreen_message_and_wait_P(_i("MMU was not responding. Pres knob to resume nozzle target temperature;"));
 			  setTargetHotend(hotend_temp_bckp, active_extruder);
-			  while (abs(degTargetHotend(active_extruder) - degHotend(active_extruder)) > 5) {
+			  while ((degTargetHotend(active_extruder) - degHotend(active_extruder)) > 5) {
 				  delay_keep_alive(1000);
 				  lcd_wait_for_heater();
 			  }