Fixed homing

This commit is contained in:
Erik van der Zalm
2012-02-27 18:31:40 +01:00
parent 071eec7aa7
commit b48d67ce10
4 changed files with 32 additions and 17 deletions

View File

@ -851,18 +851,18 @@ ISR(TIMER0_COMPB_vect)
for(unsigned char e = 0; e < EXTRUDERS; e++) {
if(current_raw[e] >= maxttemp[e]) {
target_raw[e] = 0;
max_temp_error(e);
#ifndef BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
{
max_temp_error(e);
kill();;
}
#endif
}
if(current_raw[e] <= minttemp[e]) {
target_raw[e] = 0;
min_temp_error(e);
#ifndef BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
{
min_temp_error(e);
kill();
}
#endif