Use MARLIN_EEPROM_SIZE with E2END as fallback (#18059)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2020-05-22 02:15:40 -05:00
1 parent 31eb487da5
commit 461647fcee
49 files changed
+205 -201

No files matched your search

+1 -1
View File
@@ -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;