|
@@ -1102,9 +1102,9 @@ ISR(TIMER0_COMPB_vect)
|
1102
|
1102
|
/* No bed MINTEMP error? */
|
1103
|
1103
|
#if defined(BED_MAXTEMP) && (TEMP_SENSOR_BED != 0)
|
1104
|
1104
|
# if HEATER_BED_RAW_LO_TEMP > HEATER_BED_RAW_HI_TEMP
|
1105
|
|
- if(current_temperature_bed <= bed_maxttemp_raw) {
|
|
1105
|
+ if(current_temperature_bed_raw <= bed_maxttemp_raw) {
|
1106
|
1106
|
#else
|
1107
|
|
- if(current_temperature_bed >= bed_maxttemp_raw) {
|
|
1107
|
+ if(current_temperature_bed_raw >= bed_maxttemp_raw) {
|
1108
|
1108
|
#endif
|
1109
|
1109
|
target_temperature_bed = 0;
|
1110
|
1110
|
bed_max_temp_error();
|