From 3ca7c82e081e75fdc352cda0d0e8340b96b9e866 Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Tue, 12 Jun 2018 19:45:59 +0200 Subject: [PATCH] power panic: restore dir names --- Firmware/Marlin_main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index bae9da80..2de07c70 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -8634,6 +8634,7 @@ void restore_print_from_eeprom() { } dir_name[8] = '\0'; MYSERIAL.println(dir_name); + strcpy(dir_names[i], dir_name); card.chdir(dir_name); }