0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-06-28 09:50:38 +00:00

Fix DEBUG_EEPROM_READWRITE compile error ()

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( \