Use MARLIN_EEPROM_SIZE with E2END as fallback (#18059)
This commit is contained in:
@ -389,7 +389,7 @@ typedef struct SettingsDataStruct {
|
||||
|
||||
} SettingsData;
|
||||
|
||||
//static_assert(sizeof(SettingsData) <= E2END + 1, "EEPROM too small to contain SettingsData!");
|
||||
//static_assert(sizeof(SettingsData) <= MARLIN_EEPROM_SIZE, "EEPROM too small to contain SettingsData!");
|
||||
|
||||
MarlinSettings settings;
|
||||
|
||||
|
Reference in New Issue
Block a user