Fixed homing
This commit is contained in:
parent
071eec7aa7
commit
b48d67ce10
4 changed files with 32 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue