Add a string parameter to kill()

Makes the output on the LCD adjustable.
This commit is contained in:
AnHardt
2015-05-20 20:53:48 +02:00
parent 7ff18f6657
commit f4a93ed997
4 changed files with 10 additions and 14 deletions

View File

@ -219,7 +219,7 @@ void CardReader::openFile(char* name, bool read, bool replace_current/*=true*/)
SERIAL_ERROR_START;
SERIAL_ERRORPGM("trying to call sub-gcode files with too many levels. MAX level is:");
SERIAL_ERRORLN(SD_PROCEDURE_DEPTH);
kill();
kill(PSTR(MSG_KILLED));
return;
}