瀏覽代碼

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

Loading…
取消
儲存