fixed catsting to (int)e in serial error messages.
see https://github.com/ErikZalm/Marlin/issues/148
This commit is contained in:
parent
ffea8008ca
commit
33bb044d7c
1 changed files with 2 additions and 2 deletions
|
@ -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 !");
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue