Bladeren bron

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

daid303 12 jaren geleden
bovenliggende
commit
f30b46b2a8
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2
    2
      Marlin/temperature.cpp

+ 2
- 2
Marlin/temperature.cpp Bestand weergeven

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

Laden…
Annuleren
Opslaan