Fix Start SD Print bug (#14354)
Followup to the G-code parser injection update.
This commit is contained in:
parent
0f6f5132c1
commit
5df051fdee
@ -368,7 +368,7 @@ void CardReader::openAndPrintFile(const char *name) {
|
|||||||
sprintf_P(cmd, PSTR("M23 %s"), name);
|
sprintf_P(cmd, PSTR("M23 %s"), name);
|
||||||
for (char *c = &cmd[4]; *c; c++) *c = tolower(*c);
|
for (char *c = &cmd[4]; *c; c++) *c = tolower(*c);
|
||||||
queue.enqueue_one_now(cmd);
|
queue.enqueue_one_now(cmd);
|
||||||
queue.inject_P(PSTR("M24"));
|
queue.enqueue_now_P(PSTR("M24"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void CardReader::startFileprint() {
|
void CardReader::startFileprint() {
|
||||||
|
Loading…
Reference in New Issue
Block a user