Merge pull request #2130 from AnHardt/kill2

Add a string parameter to kill()
This commit is contained in:
AnHardt
2015-05-20 23:32:51 +02:00
5 changed files with 13 additions and 15 deletions

View File

@ -724,7 +724,7 @@ static float analog2temp(int raw, uint8_t e) {
SERIAL_ERROR_START;
SERIAL_ERROR((int)e);
SERIAL_ERRORLNPGM(MSG_INVALID_EXTRUDER_NUM);
kill();
kill(PSTR(MSG_KILLED));
return 0.0;
}