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 #if WORD_PADDED_EEPROM
int test_index; int test_index;
#else #else
int &test_index = eeprom_index; #define test_index eeprom_index
#endif #endif
#define _FIELD_TEST(FIELD) \ #define _FIELD_TEST(FIELD) \
EEPROM_ASSERT( \ EEPROM_ASSERT( \