Browse Source

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

Fixed for cycle used to initialize default values
Giuliano 6 years ago
parent
commit
8d8f257384
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/configuration_store.cpp

+ 1
- 1
Marlin/src/module/configuration_store.cpp View File

1904
   #endif
1904
   #endif
1905
 
1905
 
1906
   #if ENABLED(ADVANCED_PAUSE_FEATURE)
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
       filament_change_unload_length[e] = FILAMENT_CHANGE_UNLOAD_LENGTH;
1908
       filament_change_unload_length[e] = FILAMENT_CHANGE_UNLOAD_LENGTH;
1909
       filament_change_load_length[e] = FILAMENT_CHANGE_FAST_LOAD_LENGTH;
1909
       filament_change_load_length[e] = FILAMENT_CHANGE_FAST_LOAD_LENGTH;
1910
     }
1910
     }

Loading…
Cancel
Save