浏览代码

Throw bed min temp error only if heating

Scott Lahteine 9 年前
父节点
当前提交
b7b5b50a84
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      Marlin/temperature.cpp

+ 2
- 2
Marlin/temperature.cpp 查看文件

@@ -1822,8 +1822,8 @@ void Temperature::isr() {
1822 1822
       #else
1823 1823
         #define GEBED >=
1824 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 1827
     #endif
1828 1828
 
1829 1829
   } // temp_count >= OVERSAMPLENR

正在加载...
取消
保存