Kaynağa Gözat

Write the E parameter length correctly

Scott Lahteine 7 yıl önce
ebeveyn
işleme
a4f10f59c3
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      Marlin/configuration_store.cpp

+ 1
- 1
Marlin/configuration_store.cpp Dosyayı Görüntüle

@@ -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…
İptal
Kaydet