From 8d8f257384354fa6bfc0e4815fe2ad865acc566a Mon Sep 17 00:00:00 2001 From: Giuliano <3684609+GMagician@users.noreply.github.com> Date: Tue, 26 Jun 2018 20:37:52 +0200 Subject: [PATCH] [2.0.x] Fix advanced pause init values (#11095) Fixed for cycle used to initialize default values --- Marlin/src/module/configuration_store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/module/configuration_store.cpp b/Marlin/src/module/configuration_store.cpp index 34af1f42f3..544f3b3c8f 100644 --- a/Marlin/src/module/configuration_store.cpp +++ b/Marlin/src/module/configuration_store.cpp @@ -1904,7 +1904,7 @@ void MarlinSettings::reset(PORTARG_SOLO) { #endif #if ENABLED(ADVANCED_PAUSE_FEATURE) - for (uint8_t e = 0; e < E_STEPPERS; e++) { + for (uint8_t e = 0; e < EXTRUDERS; e++) { filament_change_unload_length[e] = FILAMENT_CHANGE_UNLOAD_LENGTH; filament_change_load_length[e] = FILAMENT_CHANGE_FAST_LOAD_LENGTH; }