Pārlūkot izejas kodu

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

Fixed for cycle used to initialize default values
Giuliano 6 gadus atpakaļ
vecāks
revīzija
8d8f257384
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      Marlin/src/module/configuration_store.cpp

+ 1
- 1
Marlin/src/module/configuration_store.cpp Parādīt failu

@@ -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
     }

Notiek ielāde…
Atcelt
Saglabāt