Shorter M32 error message
This commit is contained in:
parent
e6ccec17a6
commit
421825259e
|
@ -519,7 +519,7 @@ void CardReader::openFileRead(char * const path, const uint8_t subcall_type/*=0*
|
|||
|
||||
// Too deep? The firmware has to bail.
|
||||
if (file_subcall_ctr > SD_PROCEDURE_DEPTH - 1) {
|
||||
SERIAL_ERROR_MSG("trying to call sub-gcode files with too many levels. MAX level is:" STRINGIFY(SD_PROCEDURE_DEPTH));
|
||||
SERIAL_ERROR_MSG("Exceeded max SUBROUTINE depth:" STRINGIFY(SD_PROCEDURE_DEPTH));
|
||||
kill();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue