From: Bernhard Date: Sun, 22 Apr 2012 18:04:39 +0000 (+0200) Subject: fixed catsting to (int)e in serial error messages. X-Git-Tag: iwj-success-2012-07-29~32^2~7 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=33bb044d7c8faa269e538e46858ed5d62292f27a;p=marlin.git fixed catsting to (int)e in serial error messages. see https://github.com/ErikZalm/Marlin/issues/148 --- diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index a8ec619..2180f80 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -710,7 +710,7 @@ void max_temp_error(uint8_t e) { disable_heater(); if(IsStopped() == false) { SERIAL_ERROR_START; - SERIAL_ERRORLN(e); + SERIAL_ERRORLN((int)e); SERIAL_ERRORLNPGM(": Extruder switched off. MAXTEMP triggered !"); } } @@ -719,7 +719,7 @@ void min_temp_error(uint8_t e) { disable_heater(); if(IsStopped() == false) { SERIAL_ERROR_START; - SERIAL_ERRORLN(e); + SERIAL_ERRORLN((int)e); SERIAL_ERRORLNPGM(": Extruder switched off. MINTEMP triggered !"); } }