Fixed compilation for gcc-4.6.2 with avr-lib-1.8.0 (thanks daid)

This commit is contained in:
Erik van der Zalm
2012-02-09 19:38:53 +01:00
parent 9173a5713b
commit 598eb1d4f1
3 changed files with 81 additions and 81 deletions

View File

@@ -164,7 +164,7 @@ const int sensitive_pins[] = SENSITIVE_PINS; // Sensitive pin list for M42
//Inactivity shutdown variables
static unsigned long previous_millis_cmd = 0;
static unsigned long max_inactive_time = 0;
static unsigned long stepper_inactive_time = DEFAULT_STEPPER_DEACTIVE_TIME*1000;
static unsigned long stepper_inactive_time = DEFAULT_STEPPER_DEACTIVE_TIME*1000l;
static unsigned long last_stepperdisabled_time=30*1000; //first release check after 30 seconds
static unsigned long starttime=0;