Rebuild SD file sort array on Stop SD Print (#9975)
Thanks Chuck Hellebuyck.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user