Sfoglia il codice sorgente

Write the E parameter length correctly

Scott Lahteine 7 anni fa
parent
commit
a4f10f59c3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      Marlin/configuration_store.cpp

+ 1
- 1
Marlin/configuration_store.cpp Vedi 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…
Annulla
Salva