diff --git a/Firmware/Configuration.h b/Firmware/Configuration.h index 557a5fa4..5ce1dd4f 100644 --- a/Firmware/Configuration.h +++ b/Firmware/Configuration.h @@ -9,7 +9,7 @@ // Firmware version #define FW_version "3.1.1-RC1" -#define FW_build 124 +#define FW_build 125 //#define FW_build --BUILD-NUMBER-- #define FW_version_build FW_version " b" STR(FW_build) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index a6b9fbc2..f7abc4fb 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -6195,6 +6195,10 @@ static void menu_action_sdfile(const char* filename, char* longFilename) } if (result) { + for (int i = 0; i < 8; i++) { + eeprom_write_byte((uint8_t*)EEPROM_FILENAME + i, filename[i]); + } + uint8_t depth = (uint8_t)card.getWorkDirDepth(); for (uint8_t i = 0; i < depth; i++) {