Rebuild SD file sort array on Stop SD Print (#9975)
Thanks Chuck Hellebuyck.
This commit is contained in:
parent
1ed1882766
commit
1f77930e01
4 changed files with 29 additions and 9 deletions
|
|
@ -225,7 +225,11 @@ void process_lcd_p_command(const char* command) {
|
|||
case 'X':
|
||||
// cancel print
|
||||
write_to_lcd_P(PSTR("{SYS:CANCELING}"));
|
||||
card.stopSDPrint();
|
||||
card.stopSDPrint(
|
||||
#if SD_RESORT
|
||||
true
|
||||
#endif
|
||||
);
|
||||
clear_command_queue();
|
||||
quickstop_stepper();
|
||||
print_job_timer.stop();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue