allow Marlin to actually compile with Makefile pulled from Sprinter and a few other modifications

This commit is contained in:
Michael Moon
2012-01-24 13:18:54 +11:00
parent 157aa7f2fd
commit 8d0916af13
5 changed files with 151 additions and 253 deletions

View File

@ -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();
}
}