浏览代码

fixed catsting to (int)e in serial error messages.

see https://github.com/ErikZalm/Marlin/issues/148
Bernhard 13 年前
父节点
当前提交
33bb044d7c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      Marlin/temperature.cpp

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

@@ -710,7 +710,7 @@ void max_temp_error(uint8_t e) {
710 710
   disable_heater();
711 711
   if(IsStopped() == false) {
712 712
     SERIAL_ERROR_START;
713
-    SERIAL_ERRORLN(e);
713
+    SERIAL_ERRORLN((int)e);
714 714
     SERIAL_ERRORLNPGM(": Extruder switched off. MAXTEMP triggered !");
715 715
   }
716 716
 }
@@ -719,7 +719,7 @@ void min_temp_error(uint8_t e) {
719 719
   disable_heater();
720 720
   if(IsStopped() == false) {
721 721
     SERIAL_ERROR_START;
722
-    SERIAL_ERRORLN(e);
722
+    SERIAL_ERRORLN((int)e);
723 723
     SERIAL_ERRORLNPGM(": Extruder switched off. MINTEMP triggered !");
724 724
   }
725 725
 }

正在加载...
取消
保存