소스 검색

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
 }

Loading…
취소
저장