From a4f10f59c33b1be4303cd9f1dfb9dc961bba766b Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 15 Dec 2016 21:15:12 -0800 Subject: [PATCH] Write the E parameter length correctly --- Marlin/configuration_store.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/configuration_store.cpp b/Marlin/configuration_store.cpp index b2c23c92b4..d9c83e6fe3 100644 --- a/Marlin/configuration_store.cpp +++ b/Marlin/configuration_store.cpp @@ -238,7 +238,7 @@ void Config_Postprocess() { eeprom_checksum = 0; // clear before first "real data" - const uint8_t esteppers = E_STEPPERS; + const uint8_t esteppers = COUNT(planner.axis_steps_per_mm) - XYZ; EEPROM_WRITE(esteppers); EEPROM_WRITE(planner.axis_steps_per_mm);