Option to Auto-Initialize EEPROM (#13935)
This commit is contained in:
committed by
Scott Lahteine
parent
a504366138
commit
5dcb25664f
@ -401,9 +401,8 @@ void MarlinSettings::postprocess() {
|
||||
report_current_position();
|
||||
}
|
||||
|
||||
#if ENABLED(PRINTCOUNTER) && ENABLED(EEPROM_SETTINGS)
|
||||
#if BOTH(PRINTCOUNTER, EEPROM_SETTINGS)
|
||||
#include "printcounter.h"
|
||||
|
||||
static_assert(
|
||||
!WITHIN(STATS_EEPROM_ADDRESS, EEPROM_OFFSET, EEPROM_OFFSET + sizeof(SettingsData)) &&
|
||||
!WITHIN(STATS_EEPROM_ADDRESS + sizeof(printStatistics), EEPROM_OFFSET, EEPROM_OFFSET + sizeof(SettingsData)),
|
||||
|
Reference in New Issue
Block a user