Browse Source

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

daid303 12 years ago
parent
commit
f30b46b2a8
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/temperature.cpp

+ 2
- 2
Marlin/temperature.cpp View File

@@ -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();

Loading…
Cancel
Save