Browse Source

Added more manage_inactivity checks

Erik van der Zalm 13 years ago
parent
commit
f5eae52098
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Marlin/Marlin.pde

+ 3
- 0
Marlin/Marlin.pde View File

571
       previous_millis_cmd = millis();
571
       previous_millis_cmd = millis();
572
       while(millis()  < codenum ){
572
       while(millis()  < codenum ){
573
         manage_heater();
573
         manage_heater();
574
+        manage_inactivity(1);
574
       }
575
       }
575
       break;
576
       break;
576
     case 28: //G28 Home all Axis one at a time
577
     case 28: //G28 Home all Axis one at a time
909
             codenum = millis();
910
             codenum = millis();
910
           }
911
           }
911
           manage_heater();
912
           manage_heater();
913
+          manage_inactivity(1);
912
           LCD_STATUS;
914
           LCD_STATUS;
913
         #ifdef TEMP_RESIDENCY_TIME
915
         #ifdef TEMP_RESIDENCY_TIME
914
             /* start/restart the TEMP_RESIDENCY_TIME timer whenever we reach target temp for the first time
916
             /* start/restart the TEMP_RESIDENCY_TIME timer whenever we reach target temp for the first time
945
             codenum = millis(); 
947
             codenum = millis(); 
946
           }
948
           }
947
           manage_heater();
949
           manage_heater();
950
+          manage_inactivity(1);
948
           LCD_STATUS;
951
           LCD_STATUS;
949
         }
952
         }
950
         LCD_MESSAGEPGM(MSG_BED_DONE);
953
         LCD_MESSAGEPGM(MSG_BED_DONE);

Loading…
Cancel
Save