Quellcode durchsuchen

Fixed residency time bug. (Thanks to Sound :-) )

Erik van der Zalm vor 12 Jahren
Ursprung
Commit
6ac9b2e761
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      Marlin/Marlin.pde

+ 1
- 1
Marlin/Marlin.pde Datei anzeigen

@@ -737,7 +737,7 @@ inline void process_commands()
737 737
           residencyStart = -1;
738 738
           /* continue to loop until we have reached the target temp   
739 739
             _and_ until TEMP_RESIDENCY_TIME hasn't passed since we reached it */
740
-          while((target_direction ? (isHeatingHotend0()) : (isCoolingHotend0()) ||
740
+          while((target_direction ? (isHeatingHotend0()) : (isCoolingHotend0())) ||
741 741
                   (residencyStart > -1 && (millis() - residencyStart) < TEMP_RESIDENCY_TIME*1000) ) {
742 742
         #else
743 743
           while ( target_direction ? (isHeatingHotend0()) : (isCoolingHotend0()) ) {

Laden…
Abbrechen
Speichern