correcting commit errors.
This commit is contained in:
@@ -1278,3 +1278,18 @@ void manage_inactivity(byte debug) {
|
||||
check_axes_activity();
|
||||
}
|
||||
|
||||
void kill()
|
||||
{
|
||||
disable_heater();
|
||||
|
||||
disable_x();
|
||||
disable_y();
|
||||
disable_z();
|
||||
disable_e();
|
||||
|
||||
if(PS_ON_PIN > -1) pinMode(PS_ON_PIN,INPUT);
|
||||
Serial.println("!! Printer halted. kill() called !!");
|
||||
while(1); // Wait for reset
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user