Skip to main content
Sign in
Snippets Groups Projects
Commit f30b46b2 authored by daid303's avatar daid303
Browse files

One more fix for #338, I really should get a heated bed to test with.

parent 65c3f1ff
Branches
Tags
No related merge requests found
...@@ -1102,9 +1102,9 @@ ISR(TIMER0_COMPB_vect) ...@@ -1102,9 +1102,9 @@ ISR(TIMER0_COMPB_vect)
/* No bed MINTEMP error? */ /* No bed MINTEMP error? */
#if defined(BED_MAXTEMP) && (TEMP_SENSOR_BED != 0) #if defined(BED_MAXTEMP) && (TEMP_SENSOR_BED != 0)
# if HEATER_BED_RAW_LO_TEMP > HEATER_BED_RAW_HI_TEMP # if HEATER_BED_RAW_LO_TEMP > HEATER_BED_RAW_HI_TEMP
if(current_temperature_bed <= bed_maxttemp_raw) { if(current_temperature_bed_raw <= bed_maxttemp_raw) {
#else #else
if(current_temperature_bed >= bed_maxttemp_raw) { if(current_temperature_bed_raw >= bed_maxttemp_raw) {
#endif #endif
target_temperature_bed = 0; target_temperature_bed = 0;
bed_max_temp_error(); bed_max_temp_error();
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment