allow Marlin to actually compile with Makefile pulled from Sprinter and a few other modifications
This commit is contained in:
@ -1301,8 +1301,10 @@ void manage_inactivity(byte debug)
|
||||
last_stepperdisabled_time=previous_millis_cmd;
|
||||
else
|
||||
{
|
||||
if( (X_ENABLE_ON && (READ(X_ENABLE_PIN)!=0)) || (!X_ENABLE_ON && READ(X_ENABLE_PIN)==0) )
|
||||
enquecommand(DEFAULT_STEPPER_DEACTIVE_COMMAND);
|
||||
#if X_ENABLE_PIN >= 0
|
||||
if( (X_ENABLE_ON && (READ(X_ENABLE_PIN)!=0)) || (!X_ENABLE_ON && READ(X_ENABLE_PIN)==0) )
|
||||
enquecommand(DEFAULT_STEPPER_DEACTIVE_COMMAND);
|
||||
#endif
|
||||
last_stepperdisabled_time=millis();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user