Browse Source

Shorter M32 error message

Scott Lahteine 5 years ago
parent
commit
421825259e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/sd/cardreader.cpp

+ 1
- 1
Marlin/src/sd/cardreader.cpp View File

@@ -519,7 +519,7 @@ void CardReader::openFileRead(char * const path, const uint8_t subcall_type/*=0*
519 519
 
520 520
       // Too deep? The firmware has to bail.
521 521
       if (file_subcall_ctr > SD_PROCEDURE_DEPTH - 1) {
522
-        SERIAL_ERROR_MSG("trying to call sub-gcode files with too many levels. MAX level is:" STRINGIFY(SD_PROCEDURE_DEPTH));
522
+        SERIAL_ERROR_MSG("Exceeded max SUBROUTINE depth:" STRINGIFY(SD_PROCEDURE_DEPTH));
523 523
         kill();
524 524
         return;
525 525
       }

Loading…
Cancel
Save