Fix DEBUG_EEPROM_READWRITE compile error (#13492)

This commit is contained in:
Ludy 2019-03-26 10:12:22 +01:00 committed by Scott Lahteine
parent e3ab54753b
commit fe346cd4d1

View File

@ -412,7 +412,7 @@ void MarlinSettings::postprocess() {
#if WORD_PADDED_EEPROM
int test_index;
#else
int &test_index = eeprom_index;
#define test_index eeprom_index
#endif
#define _FIELD_TEST(FIELD) \
EEPROM_ASSERT( \