Kaynağa Gözat

Throw bed min temp error only if heating

Scott Lahteine 8 yıl önce
ebeveyn
işleme
b7b5b50a84
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2
    2
      Marlin/temperature.cpp

+ 2
- 2
Marlin/temperature.cpp Dosyayı Görüntüle

1822
       #else
1822
       #else
1823
         #define GEBED >=
1823
         #define GEBED >=
1824
       #endif
1824
       #endif
1825
-      if (current_temperature_bed_raw GEBED bed_maxttemp_raw) _temp_error(-1, PSTR(MSG_T_MAXTEMP), PSTR(MSG_ERR_MAXTEMP_BED));
1826
-      if (bed_minttemp_raw GEBED current_temperature_bed_raw) _temp_error(-1, PSTR(MSG_T_MINTEMP), PSTR(MSG_ERR_MINTEMP_BED));
1825
+      if (current_temperature_bed_raw GEBED bed_maxttemp_raw) max_temp_error(-1);
1826
+      if (bed_minttemp_raw GEBED current_temperature_bed_raw && target_temperature_bed > 0.0f) min_temp_error(-1);
1827
     #endif
1827
     #endif
1828
 
1828
 
1829
   } // temp_count >= OVERSAMPLENR
1829
   } // temp_count >= OVERSAMPLENR

Loading…
İptal
Kaydet