Parcourir la source

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

Erik van der Zalm il y a 13 ans
Parent
révision
6ac9b2e761
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      Marlin/Marlin.pde

+ 1
- 1
Marlin/Marlin.pde Voir le fichier

@@ -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()) ) {

Chargement…
Annuler
Enregistrer