Browse Source

Write the E parameter length correctly

Scott Lahteine 7 years ago
parent
commit
a4f10f59c3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/configuration_store.cpp

+ 1
- 1
Marlin/configuration_store.cpp View File

@@ -238,7 +238,7 @@ void Config_Postprocess() {
238 238
 
239 239
     eeprom_checksum = 0; // clear before first "real data"
240 240
 
241
-    const uint8_t esteppers = E_STEPPERS;
241
+    const uint8_t esteppers = COUNT(planner.axis_steps_per_mm) - XYZ;
242 242
     EEPROM_WRITE(esteppers);
243 243
 
244 244
     EEPROM_WRITE(planner.axis_steps_per_mm);

Loading…
Cancel
Save