Event G-code for Stop SD Print (#13547)

Co-Authored-By: 7eggert <7eggert@gmx.de>
Co-Authored-By: robbycandra <robbycandra.mail@gmail.com>
This commit is contained in:
Robby Candra
2019-04-03 10:09:30 +07:00
committed by Scott Lahteine
parent 2cfa9e9008
commit 46445a5a16
76 changed files with 229 additions and 148 deletions

View File

@ -1143,6 +1143,9 @@ void loop() {
#if ENABLED(POWER_LOSS_RECOVERY)
card.removeJobRecoveryFile();
#endif
#ifdef EVENT_GCODE_SD_STOP
enqueue_and_echo_commands_P(PSTR(EVENT_GCODE_SD_STOP));
#endif
}
#endif // SDSUPPORT