Fix Start SD Print bug (#14354)

Followup to the G-code parser injection update.
2.0.x
InsanityAutomation 6 years ago committed by Scott Lahteine
parent 0f6f5132c1
commit 5df051fdee

@ -368,7 +368,7 @@ void CardReader::openAndPrintFile(const char *name) {
sprintf_P(cmd, PSTR("M23 %s"), name);
for (char *c = &cmd[4]; *c; c++) *c = tolower(*c);
queue.enqueue_one_now(cmd);
queue.inject_P(PSTR("M24"));
queue.enqueue_now_P(PSTR("M24"));
}
void CardReader::startFileprint() {

Loading…
Cancel
Save