瀏覽代碼

[2.0.x] Fix advanced pause init values (#11095)

Fixed for cycle used to initialize default values
Giuliano 6 年之前
父節點
當前提交
8d8f257384
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/module/configuration_store.cpp

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

@@ -1904,7 +1904,7 @@ void MarlinSettings::reset(PORTARG_SOLO) {
1904 1904
   #endif
1905 1905
 
1906 1906
   #if ENABLED(ADVANCED_PAUSE_FEATURE)
1907
-    for (uint8_t e = 0; e < E_STEPPERS; e++) {
1907
+    for (uint8_t e = 0; e < EXTRUDERS; e++) {
1908 1908
       filament_change_unload_length[e] = FILAMENT_CHANGE_UNLOAD_LENGTH;
1909 1909
       filament_change_load_length[e] = FILAMENT_CHANGE_FAST_LOAD_LENGTH;
1910 1910
     }

Loading…
取消
儲存