|
@ -559,13 +559,11 @@ void MarlinSettings::postprocess() { |
|
|
#endif // SD_FIRMWARE_UPDATE
|
|
|
#endif // SD_FIRMWARE_UPDATE
|
|
|
|
|
|
|
|
|
#ifdef ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE |
|
|
#ifdef ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE |
|
|
static_assert( |
|
|
static_assert(EEPROM_OFFSET + sizeof(SettingsData) < ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE, |
|
|
EEPROM_OFFSET + sizeof(SettingsData) < ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE, |
|
|
"ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE is insufficient to capture all EEPROM data."); |
|
|
"ARCHIM2_SPI_FLASH_EEPROM_BACKUP_SIZE is insufficient to capture all EEPROM data." |
|
|
|
|
|
); |
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#define DEBUG_OUT ENABLED(EEPROM_CHITCHAT) |
|
|
//#define DEBUG_OUT 1
|
|
|
#include "../core/debug_out.h" |
|
|
#include "../core/debug_out.h" |
|
|
|
|
|
|
|
|
#if ENABLED(EEPROM_SETTINGS) |
|
|
#if ENABLED(EEPROM_SETTINGS) |
|
|