Change to enquecommandf_P and enquecommand_P
This commit is contained in:
parent
7a6cfda34f
commit
a52d5430aa
|
|
@ -7466,7 +7466,6 @@ void lcd_heat_bed_on_load_toggle()
|
|||
}
|
||||
|
||||
void reprint_from_eeprom() {
|
||||
char cmd[30];
|
||||
char filename[13];
|
||||
char altfilename[13];
|
||||
uint8_t depth = 0;
|
||||
|
|
@ -7507,9 +7506,10 @@ void reprint_from_eeprom() {
|
|||
}
|
||||
}
|
||||
MYSERIAL.print(altfilename);
|
||||
sprintf_P(cmd, PSTR("M23 %s"), altfilename);
|
||||
enquecommand(cmd);
|
||||
sprintf_P(cmd, PSTR("M24"));
|
||||
enquecommand(cmd);
|
||||
|
||||
// M23: Select SD file
|
||||
enquecommandf_P(MSG_M23, altfilename);
|
||||
// M24: Start/resume SD print
|
||||
enquecommand_P(MSG_M24);
|
||||
lcd_return_to_status();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue