Browse Source

Fix DEBUG_EEPROM_READWRITE compile error (#13492)

Ludy 6 years ago
parent
commit
fe346cd4d1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/configuration_store.cpp

+ 1
- 1
Marlin/src/module/configuration_store.cpp View File

412
     #if WORD_PADDED_EEPROM
412
     #if WORD_PADDED_EEPROM
413
       int test_index;
413
       int test_index;
414
     #else
414
     #else
415
-      int &test_index = eeprom_index;
415
+      #define test_index eeprom_index
416
     #endif
416
     #endif
417
     #define _FIELD_TEST(FIELD) \
417
     #define _FIELD_TEST(FIELD) \
418
       EEPROM_ASSERT( \
418
       EEPROM_ASSERT( \

Loading…
Cancel
Save