浏览代码

Fix DEBUG_EEPROM_READWRITE compile error (#13492)

Ludy 6 年前
父节点
当前提交
fe346cd4d1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/module/configuration_store.cpp

+ 1
- 1
Marlin/src/module/configuration_store.cpp 查看文件

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

正在加载...
取消
保存