Sfoglia il codice sorgente

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

see https://github.com/ErikZalm/Marlin/issues/148
Bernhard 13 anni fa
parent
commit
33bb044d7c
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      Marlin/temperature.cpp

+ 2
- 2
Marlin/temperature.cpp Vedi File

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

Loading…
Annulla
Salva