瀏覽代碼

Write the E parameter length correctly

Scott Lahteine 7 年之前
父節點
當前提交
a4f10f59c3
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/configuration_store.cpp

+ 1
- 1
Marlin/configuration_store.cpp 查看文件

@@ -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…
取消
儲存