Fix Start SD Print bug (#14354)

Followup to the G-code parser injection update.
This commit is contained in:
InsanityAutomation 2019-06-22 01:37:21 -04:00 committed by Scott Lahteine
parent 0f6f5132c1
commit 5df051fdee

View file

@ -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() {